11 #ifndef ROOT_TMVA_Envelope 12 #define ROOT_TMVA_Envelope 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.
Bool_t fVerbose
flag to save the trained model
~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.
TString fTransformations
flag for extra information
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
void WriteDataInformation(TMVA::DataSetInfo &fDataSetInfo, TMVA::Types::EAnalysisType fAnalysisType)
method to save Train/Test information into the output file.
Bool_t fSilentFile
List of transformations to test.
std::shared_ptr< TFile > fFile
data
Bool_t IsSilentFile()
Method to see if a file is available to save results.
TDirectory * RootBaseDir()
Utility method to get base dir directory from current file.
std::vector< OptionMap > & GetMethods()
Method get the Booked methods in a option map object.
DataLoader * GetDataLoader()
Method to get the pointer to TMVA::DataLoader object.
Bool_t HasMethod(TString methodname, TString methodtitle)
function to check methods booked
#define ClassDef(name, id)
Envelope(const TString &name, DataLoader *dataloader=nullptr, TFile *file=nullptr, const TString options="")
timer to measute the time.
Abstract base class for all high level ml algorithms, you can book ml methods like BDT...
Class that contains all the data information.
virtual void ParseOptions()
Method to parse the internal option string.
This class provides a simple interface to execute the same task multiple times in parallel...
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...
Class that contains all the data information.
Describe directory structure in memory.
Bool_t fModelPersistence
file to save the results
std::shared_ptr< DataLoader > fDataLoader
Booked method information.
UInt_t fJobs
procpool object
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 implemented with your algorithm.
TStopwatch fTimer
number of jobs to run some high level algorithm in parallel
std::vector< OptionMap > fMethods
TProcPool fWorkers
if true dont produce file output