#include <ClassDistanceProportionCostFunction.h>
Inheritance diagram for PLearn::ClassDistanceProportionCostFunction:
Public Member Functions | |
ClassDistanceProportionCostFunction () | |
PLEARN_DECLARE_OBJECT (ClassDistanceProportionCostFunction) | |
virtual real | evaluate (const Vec &output, const Vec &target) const |
returns K(x1,x2) | |
Private Types | |
typedef Kernel | inherited |
Definition at line 64 of file ClassDistanceProportionCostFunction.h.
|
Reimplemented from PLearn::Kernel. Definition at line 66 of file ClassDistanceProportionCostFunction.h. |
|
Definition at line 69 of file ClassDistanceProportionCostFunction.h. |
|
returns K(x1,x2)
Implements PLearn::Kernel. Definition at line 51 of file ClassDistanceProportionCostFunction.cc. References PLearn::argmax(), PLearn::TVec< T >::length(), PLearn::max(), PLERROR, and PLearn::Vec. |
|
|