|
X-Boost
2.3.8
|
A Weak Classifier based on a Feature Extractor policy. More...
#include <RealDecisionStump.h>
Public Types | |
| typedef float | ReturnType |
Public Member Functions | |
| float | evaluate_feature (DataType value) const |
| convert the feature value to {p,n} using internal parity and threshold | |
| void | rescale (int sx, int sy, int sgn) |
| this function permits to change the th for rescaling | |
| float | getAlpha () const |
| return the maximum range of data returned | |
Static Public Member Functions | |
| static std::string | signature () |
Public Attributes | |
| DataType | th |
| threshold value | |
| float | pr |
| weight associated to positive response (pr) and negative response (nr) | |
| float | nr |
Static Public Attributes | |
| static const ClassifierType | Type = RealClassifier |
| NaiveDecisionStump is a DiscreteClassifier. | |
A Weak Classifier based on a Feature Extractor policy.
The FeatureExtractor have to implement a response method that returns an integer scalar quantity
1.8.7