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

#include <SimpleDecisionStump.h>

Public Types

typedef int ReturnType
 

Public Member Functions

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

Static Public Member Functions

static std::string signature ()
 

Public Attributes

DataType th
 threshold value
 

Static Public Attributes

static const ClassifierType Type = DicreteClassifier
 SimpleDecisionStump is a DiscreteClassifier.
 

Detailed Description

template<class DataType>
struct SimpleDecisionStump< DataType >

A simpler decision stump without parity TODO: instance it when feature admit inversion


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