12 #ifndef ROOT_TMVA_MethodCrossValidation 13 #define ROOT_TMVA_MethodCrossValidation 32 class CrossValidation;
void ReadWeightsFromStream(std::istream &istr)
Read the weights.
MethodBase * InstantiateMethodFromXML(TString methodTypeName, TString weightfile) const
Reads in a weight file an instantiates the corresponding method.
TString fEncapsulatedMethodName
void WriteMonitoringHistosToFile(void) const
write special monitoring histograms to file dummy implementation here --------------— ...
void GetHelpMessage() const
void ReadWeightsFromXML(void *parent)
Reads from the xml file.
Double_t GetMvaValue(Double_t *err=0, Double_t *errUpper=0)
Virtual base Class for all MVA method.
void DeclareCompatibilityOptions()
Options that are used ONLY for the READER to ensure backward compatibility.
Ranking for variables in method (implementation)
void Reset(void)
Reset the method, as if it had just been instantiated (forget all training etc.). ...
const std::vector< Float_t > & GetRegressionValues()
Get the regression value generated by the containing methods.
#define ClassDef(name, id)
MethodCrossValidation(const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="")
std::vector< Float_t > fMulticlassValues
Class that contains all the data information.
std::unique_ptr< CvSplitKFoldsExpr > fSplitExpr
virtual ~MethodCrossValidation(void)
Destructor.
Bool_t HasAnalysisType(Types::EAnalysisType type, UInt_t numberClasses, UInt_t numberTargets)
void ProcessOptions()
The option string is decoded, for available options see "DeclareOptions".
void Train(void)
Call the Optimizer with the set of parameters and ranges that are meant to be tuned.
void MakeClassSpecificHeader(std::ostream &, const TString &) const
Specific class header.
void Init(void)
Common initialisation with defaults for the Method.
std::vector< Float_t > fRegressionValues
const Ranking * CreateRanking()
TString GetWeightFileNameForFold(UInt_t iFold) const
Returns filename of weight file for a given fold.
Abstract ClassifierFactory template that handles arbitrary types.
void AddWeightsXMLTo(void *parent) const
Write weights to XML.
const std::vector< Float_t > & GetMulticlassValues()
Get the multiclass MVA response.
std::vector< MethodBase * > fEncapsulatedMethods
virtual void ReadWeightsFromStream(std::istream &)=0
std::map< const TMVA::Event *, UInt_t > fEventToFoldMapping
TString fEncapsulatedMethodTypeName
TString fOutputEnsembling
void MakeClassSpecific(std::ostream &, const TString &) const
Make ROOT-independent C++ class for classifier response (classifier-specific implementation).