X-Boost  2.3.8
Static Public Member Functions | List of all members
DiscreteAdaBoostCommon Class Reference

#include <DiscreteAdaBoost.h>

Inherited by AdaBoost< BoostableClassifier< WeakClassifier > >.

Static Public Member Functions

template<class DataSetType >
static void Update (DataSetType &set, double alpha)
 
template<class DataSetType >
static double CalculateError (const DataSetType &set)
 
template<class DataSetType >
static double Z (const DataSetType &set, float alpha)
 
template<class DataSetType >
static void UpdateWeights (DataSetType &train, double alpha)
 
template<class Classifier , class DataSetType >
static double ComputeW (const Classifier &c, DataSetType &train)
 

Detailed Description

Policy Class for DiscreteAdaBoost. Common Part, within template

Member Function Documentation

template<class DataSetType >
static double DiscreteAdaBoostCommon::CalculateError ( const DataSetType &  set)
inlinestatic

Compute sum of error weights

template<class Classifier , class DataSetType >
static double DiscreteAdaBoostCommon::ComputeW ( const Classifier &  c,
DataSetType &  train 
)
inlinestatic

compute w coefficient and update test field

template<class DataSetType >
static void DiscreteAdaBoostCommon::Update ( DataSetType &  set,
double  alpha 
)
inlinestatic

Update Weights of set using alpha AdaBoost base update algorithm

template<class DataSetType >
static void DiscreteAdaBoostCommon::UpdateWeights ( DataSetType &  train,
double  alpha 
)
inlinestatic

Update AdaBoost AdaBoostPattern weight using alpha and precompute test field

template<class DataSetType >
static double DiscreteAdaBoostCommon::Z ( const DataSetType &  set,
float  alpha 
)
inlinestatic

Compute Z AdaBoost factor


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