X-Boost  2.3.8
Public Types | Public Member Functions | List of all members
BayesianStumpOracle< FeatureGenerator, Aggregator > Class Template Reference

#include <BayesianStumpOracle.h>

Public Types

typedef
FeatureGenerator::FeatureType 
FeatureType
 The Feature Extracted by FeatureGenerator.
 
typedef BinaryClassifier
< FeatureType, BayesianStump
< int > > 
WeakClassifierType
 The interal 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.
 
void SetFastHeuristic (bool enable, bool reoptimize, int size)
 
void LimitTrainingSetWeight (double d)
 
DataSetHandle< Aggregator > & GetTrainingSet ()
 return R/W the training set
 
void SetNumberOfThreads (int th)
 Change the thread number used in Multi Threading training.
 
void SetPreloadSize (int n)
 
double Optimize (ClassifierType &h)
 Using current metrics try to recompute parameters associated to this feature.
 
bool GetHypothesis (WeakClassifierType &bestH)
 

Detailed Description

template<class FeatureGenerator, class Aggregator>
class BayesianStumpOracle< FeatureGenerator, Aggregator >

The hypothesis generator for BayesianStump Weak Classifier

Member Function Documentation

template<class FeatureGenerator , class Aggregator >
void BayesianStumpOracle< FeatureGenerator, Aggregator >::LimitTrainingSetWeight ( double  d)
inline

MAdaBoost limits the weight of training set


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