![]() |
Belle II Software
release-05-02-19
|
Expert for the TMVA MVA method. More...
#include <TMVA.h>


Public Member Functions | |
| virtual void | load (Weightfile &weightfile) override |
| Load the expert from a Weightfile. More... | |
| virtual std::vector< float > | apply (Dataset &test_data) const =0 |
| Apply this expert onto a dataset. More... | |
| virtual std::vector< float > | apply (Dataset &test_data, const unsigned int classID) const |
| Apply this expert onto a dataset. More... | |
Protected Attributes | |
| std::unique_ptr< TMVA::Reader > | m_expert |
| TMVA::Reader pointer. | |
| std::vector< float > | m_input_cache |
| Input Cache for TMVA::Reader: Otherwise we would have to set the branch addresses in each apply call. | |
| std::vector< float > | m_spectators_cache |
| Spectators Cache for TMVA::Reader: Otherwise we would have to set the branch addresses in each apply call. | |
| GeneralOptions | m_general_options |
| General options loaded from the weightfile. | |
|
pure virtualinherited |
Apply this expert onto a dataset.
| test_data | dataset |
Implemented in TMVAExpertRegression, TMVAExpertMulticlass, TMVAExpertClassification, RegressionExpert< BaseClassifierExpert, RegressionClassifierOptions >, FastBDTExpert, PythonExpert, FANNExpert, PDFExpert, ReweighterExpert, TrivialExpert, and CombinationExpert.
|
inlinevirtualinherited |
Apply this expert onto a dataset.
Multi-class mode signature. Not pure virtual, since not all derived classes need to re-implement this.
| test_data | dataset |
| classID | class identifier. |
Reimplemented in TMVAExpertMulticlass.
|
overridevirtual |
Load the expert from a Weightfile.
| weightfile | containing all information necessary to build the expert |
Implements Expert.
Reimplemented in TMVAExpertRegression, TMVAExpertMulticlass, and TMVAExpertClassification.
Definition at line 446 of file TMVA.cc.