X-Boost  2.3.8
Public Member Functions | Public Attributes | List of all members
BinaryWeightedPatternResponse< ResponseType > Struct Template Reference

#include <WeightedPatternResponse.h>

Public Member Functions

int getClass () const
 return current class identifier (see above)
 
double getWeight () const
 return the weight associated to this class
 
float GetWeightedCategory () const
 return weighted category
 
bool operator< (const BinaryWeightedPatternResponse< ResponseType > &c) const
 operator used for sorting
 

Public Attributes

double d
 Weight associated to this pattern with sign ( >0 = pos +1, <0 = neg -1)
 
ResponseType value
 feature response associated with this pattern
 

Detailed Description

template<class ResponseType>
struct BinaryWeightedPatternResponse< ResponseType >

data request by some trainer associated to any training pattern in cache, for fast element evaluation

Note
valid only for binary problem
used internally by Oracles

The documentation for this struct was generated from the following file: