43 TMVA::SimulatedAnnealingFitter::SimulatedAnnealingFitter( IFitterTarget& target,
45 const
std::vector<Interval*>& ranges,
47 :
TMVA::FitterBase( target, name, ranges, theOption )
111 Bool_t useDefaultTemperature)
113 fMaxCalls = maxCalls;
114 fInitialTemperature = initialTemperature;
115 fMinTemperature = minTemperature;
117 fKernelTemperatureS = kernelTemperatureS;
118 fTemperatureScale = temperatureScale;
119 fTemperatureAdaptiveStep = temperatureAdaptiveStep;
120 fUseDefaultScale = useDefaultScale;
121 fUseDefaultTemperature = useDefaultTemperature;
129 Log() <<
kINFO <<
"<SimulatedAnnealingFitter> Optimisation, please be patient ... " <<
Endl;
130 Log() <<
kINFO <<
"(progress timing may be inaccurate for SA)" <<
Endl;
135 sa.
SetOptions( fMaxCalls, fInitialTemperature, fMinTemperature, fEps, fKernelTemperatureS,
136 fTemperatureScale, fAdaptiveSpeed, fTemperatureAdaptiveStep,
137 fUseDefaultScale, fUseDefaultTemperature );
MsgLogger & Endl(MsgLogger &ml)
OptionBase * DeclareOptionRef(T &ref, const TString &name, const TString &desc="")
void DeclareOptions()
declare SA options
Double_t Run()
estimator function interface for fitting
ClassImp(TMVA::SimulatedAnnealingFitter) TMVA
constructor
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 SetParameters(Int_t fMaxCalls, Double_t fInitialTemperature, Double_t fMinTemperature, Double_t fEps, TString fKernelTemperatureS, Double_t fTemperatureScale, Double_t fTemperatureAdaptiveStep, Bool_t fUseDefaultScale, Bool_t fUseDefaultTemperature)
set SA configuration parameters
Double_t fTemperatureScale
Bool_t fUseDefaultTemperature
TString fKernelTemperatureS
void AddPreDefVal(const T &)
Double_t fInitialTemperature
Abstract ClassifierFactory template that handles arbitrary types.
Double_t Minimize(std::vector< Double_t > ¶meters)
minimisation algorithm
Double_t fTemperatureAdaptiveStep