Belle II Software
release-08-01-10
|
Teacher for the TMVA MVA method. More...
#include <TMVA.h>
Public Member Functions | |
TMVATeacher (const GeneralOptions &general_options, const TMVAOptions &_specific_options) | |
Constructs a new teacher using the GeneralOptions and specific options of this training. More... | |
Weightfile | trainFactory (TMVA::Factory &factory, TMVA::DataLoader &data_loader, const std::string &jobName) const |
Train a mva method using the given data loader returning a Weightfile. More... | |
virtual Weightfile | train (Dataset &training_data) const =0 |
Train a mva method using the given dataset returning a Weightfile. More... | |
Protected Attributes | |
GeneralOptions | m_general_options |
GeneralOptions containing all shared options. | |
Private Attributes | |
TMVAOptions | specific_options |
Method specific options. | |
TMVATeacher | ( | const GeneralOptions & | general_options, |
const TMVAOptions & | _specific_options | ||
) |
Constructs a new teacher using the GeneralOptions and specific options of this training.
general_options | defining all shared options |
_specific_options | defining all method specific options |
|
pure virtualinherited |
Train a mva method using the given dataset returning a Weightfile.
training_data | used to train the method |
Implemented in TrivialTeacher, TMVATeacherRegression, TMVATeacherMulticlass, TMVATeacherClassification, ReweighterTeacher, RegressionTeacher< BaseClassifierTeacher, RegressionClassifierOptions >, PythonTeacher, PDFTeacher, FastBDTTeacher, FANNTeacher, and CombinationTeacher.
Weightfile trainFactory | ( | TMVA::Factory & | factory, |
TMVA::DataLoader & | data_loader, | ||
const std::string & | jobName | ||
) | const |
Train a mva method using the given data loader returning a Weightfile.
factory | used to train the method |
data_loader | used to train the method |
jobName | name of the TMVA training |