29 #ifndef ROOT_TMVA_ConvergenceTest
30 #define ROOT_TMVA_ConvergenceTest
Int_t fMaxCounter
the best "fitness" value
Float_t fBestResult
maximum value for the counter so far
void ResetConvergenceCounter()
Float_t fImprovement
current value
void SetConvergenceParameters(Int_t steps, Double_t improvement)
Bool_t HasConverged(Bool_t withinConvergenceBand=kFALSE)
gives back true if the last "steps" steps have lead to an improvement of the "fitness" of the "indivi...
Int_t fSteps
minimum improvement which counts as improvement
Float_t Progress()
returns a float from 0 (just started) to 1 (finished)
ConvergenceTest()
constructor
~ConvergenceTest()
destructor
std::deque< Short_t > fSuccessList
Float_t SpeedControl(UInt_t ofSteps)
this function provides the ability to change the learning rate according to the success of the last g...
Int_t fCounter
number of steps without improvement required for convergence
void SetCurrentValue(Float_t value)
Float_t GetCurrentValue()
Float_t fConvValue
counts the number of steps without improvement