![]() |
Belle II Software
release-05-02-19
|
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, 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 | defininf 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 TMVATeacherRegression, TMVATeacherMulticlass, TMVATeacherClassification, RegressionTeacher< BaseClassifierTeacher, RegressionClassifierOptions >, FastBDTTeacher, PythonTeacher, FANNTeacher, PDFTeacher, ReweighterTeacher, CombinationTeacher, and TrivialTeacher.
Weightfile trainFactory | ( | TMVA::Factory & | factory, |
TMVA::DataLoader & | data_loader, | ||
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 |