|
X-Boost
2.3.8
|
#include <NaiveDecisionStumpOracle.h>
Public Types | |
|
typedef FeatureGenerator::FeatureType | FeatureType |
| The Feature Extracted by FeatureGenerator. | |
|
typedef BinaryClassifier < FeatureType, NaiveDecisionStump > | WeakClassifierType |
| The weak classifier. | |
|
typedef BoostableClassifier < WeakClassifierType > | ClassifierType |
| The weak classifier reported by this oracle. | |
Public Member Functions | |
| void | SetTrainingSet (const DataSetHandle< Aggregator > &set) |
| Set the training set used to recover the threshold. | |
| void | SetFeatureGenerator (FeatureGenerator &f) |
| Associate a Feature Generator to Decision Stump Generator. | |
| DataSetHandle< Aggregator > & | GetTrainingSet () |
| return R/W the training set More... | |
| void | SetNumberOfThreads (int th) |
| Change the thread number used in Multi Threading training. | |
| void | SetPreloadSize (int n) |
| void | SetFastHeuristic (bool enable, bool reoptimize, int size) |
| double | Optimize (WeakClassifierType &h) |
| bool | GetHypothesis (WeakClassifierType &bestH) |
The hypothesis generator for NaiveDecisionStump Weak Classifier
|
inline |
return R/W the training set
MAdaBoost limits the weight of training set
|
inline |
Using current metrics try to recompute parameters associated to this feature since the threshold is fixed, this code can only evaluate performance (at least invert polarity of classifier)
1.8.7