#include <LiftBinaryCostFunction.h>
Inheritance diagram for PLearn::LiftBinaryCostFunction:


Public Member Functions | |
| LiftBinaryCostFunction (bool make_pos_output=false) | |
| PLEARN_DECLARE_OBJECT (LiftBinaryCostFunction) | |
| virtual string | info () const |
| returns a bit more informative string about object (default returns classname()) | |
| virtual real | evaluate (const Vec &output, const Vec &target) const |
| returns K(x1,x2) | |
Static Protected Member Functions | |
| void | declareOptions (OptionList &ol) |
| redefine this in subclasses: call declareOption(...) for each option, and then call inherited::declareOptions(options) ( see the declareOption function further down) | |
Protected Attributes | |
| bool | make_positive_output |
Private Types | |
| typedef Kernel | inherited |
Definition at line 63 of file LiftBinaryCostFunction.h.
|
|
Reimplemented from PLearn::Kernel. Definition at line 65 of file LiftBinaryCostFunction.h. |
|
|
Definition at line 71 of file LiftBinaryCostFunction.h. References make_positive_output. |
|
|
redefine this in subclasses: call declareOption(...) for each option, and then call inherited::declareOptions(options) ( see the declareOption function further down) ex: static void declareOptions(OptionList& ol) { declareOption(ol, "inputsize", &MyObject::inputsize_, OptionBase::buildoption, "the size of the input\n it must be provided"); declareOption(ol, "weights", &MyObject::weights, OptionBase::learntoption, "the learnt model weights"); inherited::declareOptions(ol); } Reimplemented from PLearn::Kernel. Definition at line 76 of file LiftBinaryCostFunction.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
||||||||||||
|
returns K(x1,x2)
Implements PLearn::Kernel. Definition at line 51 of file LiftBinaryCostFunction.cc. References PLearn::TVec< T >::length(), make_positive_output, PLERROR, PLearn::sigmoid(), and PLearn::Vec. |
|
|
returns a bit more informative string about object (default returns classname())
Reimplemented from PLearn::Object. Definition at line 76 of file LiftBinaryCostFunction.h. |
|
|
|
|
|
Definition at line 68 of file LiftBinaryCostFunction.h. Referenced by evaluate(), and LiftBinaryCostFunction(). |
1.3.7