![]() |
Belle II Software release-09-00-03
|
Abstract base class of all Expert Each MVA library has its own implementation of this class, so all libraries can be accessed via this common interface. More...
#include <Expert.h>


Public Member Functions | |
| Expert ()=default | |
| Default constructor. | |
| virtual void | load (Weightfile &weightfile)=0 |
| Load the expert from a Weightfile. | |
| virtual std::vector< float > | apply (Dataset &test_data) const =0 |
| Apply this expert onto a dataset. | |
| virtual std::vector< std::vector< float > > | applyMulticlass (Dataset &test_data) const |
| Apply this m_expert onto a dataset. | |
| virtual | ~Expert ()=default |
| Virtual destructor. | |
Protected Attributes | |
| GeneralOptions | m_general_options |
| General options loaded from the weightfile. | |
Abstract base class of all Expert Each MVA library has its own implementation of this class, so all libraries can be accessed via this common interface.
|
pure virtual |
Apply this expert onto a dataset.
| test_data | dataset |
Implemented in CombinationExpert, FANNExpert, FastBDTExpert, PDFExpert, PythonExpert, RegressionExpert< BaseClassifierExpert, RegressionClassifierOptions >, ReweighterExpert, TMVAExpertClassification, TMVAExpertMulticlass, TMVAExpertRegression, and TrivialExpert.
|
inlinevirtual |
Apply this m_expert onto a dataset.
Multiclass mode. Not pure virtual, since not all derived classes to re-implement this.
| test_data | dataset. |
Reimplemented in PythonExpert, TMVAExpertMulticlass, and TrivialExpert.
Definition at line 56 of file Expert.h.
|
pure virtual |
Load the expert from a Weightfile.
| weightfile | containing all information necessary to build the expert |
Implemented in CombinationExpert, FANNExpert, FastBDTExpert, PDFExpert, PythonExpert, RegressionExpert< BaseClassifierExpert, RegressionClassifierOptions >, ReweighterExpert, TMVAExpert, TMVAExpertClassification, TMVAExpertMulticlass, TMVAExpertRegression, and TrivialExpert.
|
protected |