28 #ifndef ROOT_TMVA_SimulatedAnnealing 29 #define ROOT_TMVA_SimulatedAnnealing 95 void GenerateNeighbour( std::vector<Double_t>& parameters, std::vector<Double_t>& oldParameters,
Double_t currentTemperature );
Double_t GenerateMaxTemperature(std::vector< Double_t > ¶meters)
maximum temperature
void FillWithRandomValues(std::vector< Double_t > ¶meters)
random starting parameters
void GenerateNewTemperature(Double_t ¤tTemperature, Int_t Iter)
generate new temperature
const std::vector< TMVA::Interval * > & fRanges
void SetAccuracy(Double_t eps)
SimulatedAnnealing(IFitterTarget &target, const std::vector< TMVA::Interval *> &ranges)
constructor
IFitterTarget & fFitterTarget
void GenerateNeighbour(std::vector< Double_t > ¶meters, std::vector< Double_t > &oldParameters, Double_t currentTemperature)
generate adjacent parameters
#define ClassDef(name, id)
This is the base class for the ROOT Random number generators.
Double_t fTemperatureAdaptiveStep
Bool_t fUseDefaultTemperature
virtual ~SimulatedAnnealing()
destructor
void SetTemperatureScale(Double_t scale)
void SetOptions(Int_t maxCalls, Double_t initialTemperature, Double_t minTemperature, Double_t eps, TString kernelTemperatureS, Double_t temperatureScale, Double_t adaptiveSpeed, Double_t temperatureAdaptiveStep, Bool_t useDefaultScale, Bool_t useDefaultTemperature)
option setter
void SetInitTemp(Double_t it)
Base implementation of simulated annealing fitting procedure.
void SetDefaultScale()
setting of default scale
void SetMaxCalls(Int_t mc)
ostringstream derivative to redirect and format output
Bool_t ShouldGoIn(Double_t currentFit, Double_t localFit, Double_t currentTemperature)
result checker
void SetIPythonInteractive(bool *ExitFromTraining, UInt_t *fIPyCurrentIter_)
enum TMVA::SimulatedAnnealing::EKernelTemperature fKernelTemperature
Abstract ClassifierFactory template that handles arbitrary types.
Double_t Minimize(std::vector< Double_t > ¶meters)
minimisation algorithm
Double_t fInitialTemperature
Interface for a fitter 'target'.
Double_t fTemperatureScale
void ReWriteParameters(std::vector< Double_t > &from, std::vector< Double_t > &to)
copy parameters
void SetAdaptiveSpeed(Double_t speed)
void SetMinTemp(Double_t min)