| 
    PLearn 0.1 
   | 
 
#include "BinaryVariable.h"

Go to the source code of this file.
Classes | |
| class | PLearn::MulticlassLossVariable | 
| cost = sum_i {cost_i}, with cost_i = 1 if (target_i == 1 && output_i < 1/2) cost_i = 1 if (target_i == 0 && output_i > 1/2) cost_i = 0 otherwise  More... | |
| class | PLearn::DiffTemplate< ObjectType, MulticlassLossVariable > | 
| class | PLearn::TypeTraits< MulticlassLossVariable > | 
Namespaces | |
| namespace | PLearn | 
< for swap  | |
Functions | |
| Object * | PLearn::toObjectPtr (const MulticlassLossVariable &o) | 
| PStream & | PLearn::operator>> (PStream &in, MulticlassLossVariable &o) | 
| PStream & | PLearn::operator>> (PStream &in, MulticlassLossVariable *&o) | 
| PStream & | PLearn::operator<< (PStream &out, const MulticlassLossVariable &o) | 
| PStream & | PLearn::operator>> (PStream &in, PP< MulticlassLossVariable > &o) | 
| template<class ObjectType > | |
| int | PLearn::diff (const string &refer, const string &other, const Option< ObjectType, MulticlassLossVariable > *opt, PLearnDiff *diffs) | 
| Var | PLearn::multiclass_loss (Var network_output, Var targets) | 
 1.7.4