PLearn 0.1
Classes | Namespaces | Functions
WeightedCostFunction.h File Reference
#include "Kernel.h"
Include dependency graph for WeightedCostFunction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PLearn::WeightedCostFunction
 A costfunction that allows to reweight another costfunction (weight being last element of target) Returns target.lastElement() * costfunc(output,target.subVec(0,target.length()-1));. More...
class  PLearn::DiffTemplate< ObjectType, WeightedCostFunction >
class  PLearn::TypeTraits< WeightedCostFunction >

Namespaces

namespace  PLearn
 

< for swap


Functions

Object * PLearn::toObjectPtr (const WeightedCostFunction &o)
PStream & PLearn::operator>> (PStream &in, WeightedCostFunction &o)
PStream & PLearn::operator>> (PStream &in, WeightedCostFunction *&o)
PStream & PLearn::operator<< (PStream &out, const WeightedCostFunction &o)
PStream & PLearn::operator>> (PStream &in, PP< WeightedCostFunction > &o)
template<class ObjectType >
int PLearn::diff (const string &refer, const string &other, const Option< ObjectType, WeightedCostFunction > *opt, PLearnDiff *diffs)
CostFunc PLearn::weighted_costfunc (CostFunc costfunc)
 reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines