#include <NegLogProbCostFunction.h>
Inheritance diagram for PLearn::NegLogProbCostFunction:
Public Member Functions | |
NegLogProbCostFunction (bool do_normalize=false, bool do_smooth_map_outputs=false) | |
PLEARN_DECLARE_OBJECT (NegLogProbCostFunction) | |
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) | |
Public Attributes | |
bool | normalize |
bool | smooth_map_outputs |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
recognized options are "normalize" and "smooth_map_outputs" | |
Private Types | |
typedef Kernel | inherited |
Definition at line 62 of file NegLogProbCostFunction.h.
|
Reimplemented from PLearn::Kernel. Definition at line 64 of file NegLogProbCostFunction.h. |
|
Definition at line 80 of file NegLogProbCostFunction.h. References normalize, and smooth_map_outputs. |
|
recognized options are "normalize" and "smooth_map_outputs"
Reimplemented from PLearn::Kernel. Definition at line 129 of file NegLogProbCostFunction.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
returns K(x1,x2)
Implements PLearn::Kernel. Definition at line 55 of file NegLogProbCostFunction.cc. References PLearn::TVec< T >::length(), normalize, PLERROR, PLearn::safeflog(), smooth_map_outputs, smoothmap, PLearn::sum(), and PLearn::Vec. |
|
returns a bit more informative string about object (default returns classname())
Reimplemented from PLearn::Object. Definition at line 85 of file NegLogProbCostFunction.h. |
|
|
|
Definition at line 67 of file NegLogProbCostFunction.h. Referenced by evaluate(), and NegLogProbCostFunction(). |
|
Definition at line 68 of file NegLogProbCostFunction.h. Referenced by evaluate(), and NegLogProbCostFunction(). |