11 #ifndef ROOT_TMVA_Envelope 12 #define ROOT_TMVA_Envelope 22 #ifndef ROOT_TStopwatch 26 #ifndef ROOT_TMVA_OptionMap 30 #ifndef ROOT_TMVA_Config 34 #ifndef ROOT_TMVA_Tools 38 #ifndef ROOT_TMVA_DataLoader 42 #ifndef ROOT_TMVA_ROCCurve virtual void BookMethod(TString methodname, TString methodtitle, TString options="")
Method to book the machine learning method to perform the algorithm.
DataSetInfo & GetDataLoaderDataSetInfo()
Utility method to get TMVA::DataSetInfo reference from the DataLoader.
~Envelope()
Default destructor.
void SetFile(TFile *file)
Method to set the pointer to TFile object, with a writable file.
Bool_t IsModelPersistence()
Method to see if the algorithm model is saved in xml or serialized files.
class to storage options for the differents methods
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
std::shared_ptr< TFile > fFile
Bool_t IsSilentFile()
Method to see if a file is available to save results.
DataLoader * GetDataLoader()
Method to get the pointer to TMVA::DataLoader object.
#define ClassDef(name, id)
Envelope(const TString &name, DataLoader *dataloader=nullptr, TFile *file=nullptr, const TString options="")
Constructor for the initialization of Envelopes, differents Envelopes may needs differents constructo...
Base class for all machine learning algorithms.
void SetVerbose(Bool_t status)
Method enable print extra information in the algorithms.
void SetDataLoader(DataLoader *dalaloader)
Method to set the pointer to TMVA::DataLoader object.
Bool_t IsVerbose()
Method to see if the algorithm should print extra information.
void SetModelPersistence(Bool_t status=kTRUE)
Method enable model persistence, then algorithms model is saved in xml or serialized files...
OptionMap & GetMethod()
Method get the Booked method in a option map object.
Bool_t fModelPersistence
file to save the results
std::shared_ptr< DataLoader > fDataLoader
Abstract ClassifierFactory template that handles arbitrary types.
TFile * GetFile()
Method to get the pointer to TFile object.
DataSetManager * GetDataLoaderDataSetManager()
Utility method to get TMVA::DataSetManager pointer from the DataLoader.
DataInputHandler & GetDataLoaderDataInput()
Utility method to get TMVA::DataInputHandler reference from the DataLoader.
virtual void Evaluate()=0
Virtual method to be implmented with your algorithm.