93 if (!
fBatch)
Log() << kINFO <<
"<MinuitFitter> Init " <<
Endl;
135 if ( !
fBatch )
Log() << kINFO <<
"<MinuitFitter> Fitting, please be patient ... " <<
Endl;
139 Log() << kFATAL <<
"<Run> Mismatch in number of parameters: (a)" 149 pars[ipar],
fRanges[ipar]->GetWidth()/100.0,
182 Log() << kFATAL <<
"<Run> Mismatch in number of parameters: " 188 Double_t errp, errm, errsym, globcor, currVal, currErr;
190 pars[ipar] = currVal;
const std::vector< TMVA::Interval * > fRanges
Int_t GetStats(Double_t &amin, Double_t &edm, Double_t &errdef, Int_t &nvpar, Int_t &nparx)
return global fit parameters
Int_t SetParameter(Int_t ipar, const char *parname, Double_t value, Double_t verr, Double_t vlow, Double_t vhigh)
set initial values for a parameter
MsgLogger & Endl(MsgLogger &ml)
virtual ~MinuitFitter()
destructor
Base class for TMVA fitters.
Int_t GetErrors(Int_t ipar, Double_t &eplus, Double_t &eminus, Double_t &eparab, Double_t &globcc)
return current errors for a parameter
OptionBase * DeclareOptionRef(T &ref, const TString &name, const TString &desc="")
virtual Int_t GetParameter(Int_t parNo, Double_t ¤tValue, Double_t ¤tError) const
return parameter value and error
virtual Int_t FixParameter(Int_t parNo)
fix a parameter
Double_t Run()
estimator function interface for fitting
void Init()
minuit-specific settings
void Clear(Option_t *=0)
reset the fitter environment
TString GetElapsedTime(Bool_t Scientific=kTRUE)
returns pretty string with elapsed time
RooCmdArg Timer(Bool_t flag=kTRUE)
The TMVA::Interval Class.
char * Form(const char *fmt,...)
IFitterTarget & fFitterTarget
Abstract ClassifierFactory template that handles arbitrary types.
Double_t EstimatorFunction(std::vector< Double_t > &pars)
performs the fit by calling Run(pars)
Interface for a fitter 'target'.
void DeclareOptions()
declare SA options
Timing information for training and evaluation of MVA methods.
Int_t ExecuteCommand(const char *command, Double_t *args, Int_t nargs)
Execute a fitter command; command : command string args : list of nargs command arguments.