ROOT 6.12/07 Reference Guide |
Check for convergence.
Definition at line 46 of file ConvergenceTest.h.
Public Member Functions | |
ConvergenceTest () | |
constructor More... | |
~ConvergenceTest () | |
destructor More... | |
Float_t | GetCurrentValue () |
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 "individuals" of at least "improvement" More... | |
Float_t | Progress () |
returns a float from 0 (just started) to 1 (finished) More... | |
void | ResetConvergenceCounter () |
void | SetConvergenceParameters (Int_t steps, Double_t improvement) |
void | SetCurrentValue (Float_t value) |
Float_t | SpeedControl (UInt_t ofSteps) |
this function provides the ability to change the learning rate according to the success of the last generations. More... | |
Protected Attributes | |
Float_t | fCurrentValue |
Float_t | fImprovement |
current value More... | |
Int_t | fSteps |
minimum improvement which counts as improvement More... | |
Private Attributes | |
Float_t | fBestResult |
maximum value for the counter so far More... | |
Float_t | fConvValue |
counts the number of steps without improvement More... | |
Int_t | fCounter |
number of steps without improvement required for convergence More... | |
Float_t | fLastResult |
Int_t | fMaxCounter |
the best "fitness" value More... | |
std::deque< Short_t > | fSuccessList |
#include <TMVA/ConvergenceTest.h>
TMVA::ConvergenceTest::ConvergenceTest | ( | ) |
constructor
Definition at line 40 of file ConvergenceTest.cxx.
TMVA::ConvergenceTest::~ConvergenceTest | ( | ) |
destructor
Definition at line 55 of file ConvergenceTest.cxx.
|
inline |
Definition at line 57 of file ConvergenceTest.h.
gives back true if the last "steps" steps have lead to an improvement of the "fitness" of the "individuals" of at least "improvement"
this gives a simple measure of if the estimator of the MLP is converging and no major improvement is to be expected.
Definition at line 66 of file ConvergenceTest.cxx.
Float_t TMVA::ConvergenceTest::Progress | ( | ) |
returns a float from 0 (just started) to 1 (finished)
Definition at line 91 of file ConvergenceTest.cxx.
|
inline |
Definition at line 58 of file ConvergenceTest.h.
Definition at line 54 of file ConvergenceTest.h.
Definition at line 56 of file ConvergenceTest.h.
this function provides the ability to change the learning rate according to the success of the last generations.
Parameters:
using this function one can increase the stepSize of the mutation when we have good success (to pass fast through the easy phase-space) and reduce the learning rate if we are in a difficult "territory" of the phase-space.
Definition at line 112 of file ConvergenceTest.cxx.
|
private |
maximum value for the counter so far
Definition at line 81 of file ConvergenceTest.h.
|
private |
counts the number of steps without improvement
Definition at line 76 of file ConvergenceTest.h.
|
private |
number of steps without improvement required for convergence
Definition at line 75 of file ConvergenceTest.h.
|
protected |
Definition at line 68 of file ConvergenceTest.h.
|
protected |
current value
Definition at line 70 of file ConvergenceTest.h.
|
private |
Definition at line 82 of file ConvergenceTest.h.
|
private |
the best "fitness" value
Definition at line 77 of file ConvergenceTest.h.
|
protected |
minimum improvement which counts as improvement
Definition at line 71 of file ConvergenceTest.h.
|
private |
Definition at line 83 of file ConvergenceTest.h.