|
X-Boost
2.3.8
|
A simple decision stump for multiclass problem using only one threshold for all problems. More...
#include <MultiClassDecisionStump.h>
Public Member Functions | |
| MultiClassDecisionStumpSingleThreshold (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 | |
| DataType | th |
| threshold value | |
| std::vector< int > | responses |
A simple decision stump for multiclass problem using only one threshold for all problems.
| std::vector<int> MultiClassDecisionStumpSingleThreshold< DataType >::responses |
positive or negative response to the class TODO: use a bitset
1.8.7