Belle II Software development
|
Abstract base class of all Teachers Each MVA library has its own implementation of this class, so all libraries can be accessed via this common interface. More...
#include <Teacher.h>
Public Member Functions | |
Teacher (const GeneralOptions &general_options) | |
Constructs a new teacher using the GeneralOptions for this training. | |
virtual Weightfile | train (Dataset &training_data) const =0 |
Train a mva method using the given dataset returning a Weightfile. | |
virtual | ~Teacher ()=default |
Virtual destructor. | |
Protected Attributes | |
GeneralOptions | m_general_options |
GeneralOptions containing all shared options. | |
Abstract base class of all Teachers Each MVA library has its own implementation of this class, so all libraries can be accessed via this common interface.
|
explicit |
Constructs a new teacher using the GeneralOptions for this training.
general_options | defining all shared options |
Definition at line 18 of file Teacher.cc.
|
pure virtual |
Train a mva method using the given dataset returning a Weightfile.
training_data | used to train the method |
Implemented in CombinationTeacher, FANNTeacher, FastBDTTeacher, PDFTeacher, PythonTeacher, RegressionTeacher< BaseClassifierTeacher, RegressionClassifierOptions >, ReweighterTeacher, TMVATeacherClassification, TMVATeacherMulticlass, TMVATeacherRegression, and TrivialTeacher.
|
protected |
GeneralOptions containing all shared options.