X-Boost  2.3.8
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
AbsDecisionStump< DataType > Struct Template Reference

A Weak Classifier based on a Feature Extractor policy. More...

#include <AbsDecisionStump.h>

Public Types

typedef int ReturnType
 

Public Member Functions

int evaluate_feature (DataType value) const
 convert the feature value to {-1,0,+1} using thresholds
 

Static Public Member Functions

static std::string signature ()
 

Public Attributes

DataType thn
 neg, pos threshold
 
DataType thp
 

Static Public Attributes

static const ClassifierType Type = DicreteClassifier
 AbsDecisionStump is a DiscreteClassifier.
 

Detailed Description

template<class DataType>
struct AbsDecisionStump< DataType >

A Weak Classifier based on a Feature Extractor policy.

Note
not handle case of wrong parity

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