|
X-Boost
2.3.8
|
#include <MultiClassDecisionStump.h>
Public Member Functions | |
| MultiClassDecisionStumpMultiThreshold (int n_classes) | |
| initialize the vector memory | |
| void | evaluate_feature (int *response, DataType value) const |
| convert the feature value to {-1,+1} using internal threshold | |
Static Public Member Functions | |
| static std::string | signature () |
Public Attributes | |
| std::vector< std::pair < DataType, int > > | responses |
A simple decision stump for multiclass problem using only one threshold for each class NOTE: really hard to implement
| std::vector<std::pair<DataType, int> > MultiClassDecisionStumpMultiThreshold< DataType >::responses |
positive or negative response to the class and associated threshold NOTE: if feature extractor implements "parity" this part can be simplified
1.8.7