Belle II Software development
|
Expert for the Combination MVA method. More...
#include <Combination.h>
Public Member Functions | |
virtual void | load (Weightfile &weightfile) override |
Load the expert from a Weightfile. | |
virtual std::vector< float > | apply (Dataset &test_data) const override |
Apply this expert onto a dataset. | |
virtual std::vector< std::vector< float > > | applyMulticlass (Dataset &test_data) const |
Apply this m_expert onto a dataset. | |
Protected Attributes | |
GeneralOptions | m_general_options |
General options loaded from the weightfile. | |
Private Attributes | |
CombinationOptions | m_specific_options |
Method specific options. | |
std::vector< std::unique_ptr< Expert > > | m_experts |
Experts of the methods to combine. | |
std::vector< std::vector< std::string > > | m_expert_variables |
Results of the experts to combine. | |
Expert for the Combination MVA method.
Definition at line 83 of file Combination.h.
|
overridevirtual |
Apply this expert onto a dataset.
test_data | dataset |
Implements Expert.
Definition at line 105 of file Combination.cc.
|
inlinevirtualinherited |
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.
|
overridevirtual |
Load the expert from a Weightfile.
weightfile | containing all information necessary to build the expert |
Implements Expert.
Definition at line 77 of file Combination.cc.
|
private |
Results of the experts to combine.
Definition at line 101 of file Combination.h.
|
private |
Experts of the methods to combine.
Definition at line 100 of file Combination.h.
|
protectedinherited |
|
private |
Method specific options.
Definition at line 99 of file Combination.h.