Check for convergence.
Definition at line 46 of file ConvergenceTest.h.
#include <TMVA/ConvergenceTest.h>
◆ ConvergenceTest()
TMVA::ConvergenceTest::ConvergenceTest |
( |
| ) |
|
◆ ~ConvergenceTest()
TMVA::ConvergenceTest::~ConvergenceTest |
( |
| ) |
|
◆ GetCurrentValue()
Float_t TMVA::ConvergenceTest::GetCurrentValue |
( |
| ) |
|
|
inline |
◆ HasConverged()
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.
◆ Progress()
Float_t TMVA::ConvergenceTest::Progress |
( |
| ) |
|
◆ ResetConvergenceCounter()
void TMVA::ConvergenceTest::ResetConvergenceCounter |
( |
| ) |
|
|
inline |
◆ SetConvergenceParameters()
void TMVA::ConvergenceTest::SetConvergenceParameters |
( |
Int_t |
steps, |
|
|
Double_t |
improvement |
|
) |
| |
|
inline |
◆ SetCurrentValue()
void TMVA::ConvergenceTest::SetCurrentValue |
( |
Float_t |
value | ) |
|
|
inline |
◆ SpeedControl()
this function provides the ability to change the learning rate according to the success of the last generations.
Parameters:
- int ofSteps : = if OF the number of STEPS given in this variable (ofSteps) the rate of improvement has to be calculated
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.
◆ fBestResult
Float_t TMVA::ConvergenceTest::fBestResult |
|
private |
◆ fConvValue
Float_t TMVA::ConvergenceTest::fConvValue |
|
private |
counts the number of steps without improvement
Definition at line 76 of file ConvergenceTest.h.
◆ fCounter
Int_t TMVA::ConvergenceTest::fCounter |
|
private |
number of steps without improvement required for convergence
Definition at line 75 of file ConvergenceTest.h.
◆ fCurrentValue
Float_t TMVA::ConvergenceTest::fCurrentValue |
|
protected |
◆ fImprovement
Float_t TMVA::ConvergenceTest::fImprovement |
|
protected |
◆ fLastResult
Float_t TMVA::ConvergenceTest::fLastResult |
|
private |
◆ fMaxCounter
Int_t TMVA::ConvergenceTest::fMaxCounter |
|
private |
◆ fSteps
Int_t TMVA::ConvergenceTest::fSteps |
|
protected |
minimum improvement which counts as improvement
Definition at line 71 of file ConvergenceTest.h.
◆ fSuccessList
std::deque<Short_t> TMVA::ConvergenceTest::fSuccessList |
|
private |
The documentation for this class was generated from the following files: