![]() |
Belle II Software
light-2303-iriomote
|
Expert for the Reweighter MVA method. More...
#include <Reweighter.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 override |
| Apply this expert onto a dataset. More... | |
| virtual std::vector< std::vector< float > > | applyMulticlass (Dataset &test_data) const |
| Apply this m_expert onto a dataset. More... | |
Protected Attributes | |
| GeneralOptions | m_general_options |
| General options loaded from the weightfile. | |
Private Attributes | |
| ReweighterOptions | m_specific_options |
| Method specific options. | |
| GeneralOptions | m_expert_options |
| Method general options of the expert. | |
| std::unique_ptr< Expert > | m_expert |
| Experts used to reweight. | |
| double | m_norm = 0.0 |
| Norm for the weights. | |
Expert for the Reweighter MVA method.
Definition at line 84 of file Reweighter.h.
|
overridevirtual |
Apply this expert onto a dataset.
| test_data | dataset |
Implements Expert.
Definition at line 176 of file Reweighter.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 TrivialExpert, TMVAExpertMulticlass, and PythonExpert.
|
overridevirtual |
Load the expert from a Weightfile.
| weightfile | containing all information necessary to build the expert |
Implements Expert.
Definition at line 154 of file Reweighter.cc.