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