![]() |
Belle II Software development
|
Expert for the PDF MVA method. More...
#include <PDF.h>
Public Member Functions | |
virtual void | load (Weightfile &weightfile) override |
Load the PDF expert from a Weightfile. | |
virtual std::vector< float > | apply (Dataset &test_data) const override |
Apply PDF 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 | |
PDFOptions | m_specific_options |
Specific options of the PDF method. | |
Binning | m_binning |
used binning | |
std::vector< double > | m_value |
value returned by expert for each bin | |
|
overridevirtual |
Apply PDF expert onto a dataset.
test_data | dataset |
Implements Expert.
Definition at line 143 of file PDF.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 ONNXExpert, PythonExpert, TMVAExpertMulticlass, and TrivialExpert.
Definition at line 56 of file Expert.h.
|
overridevirtual |
Load the PDF expert from a Weightfile.
weightfile | containing all information necessary to build the expert |
Implements Expert.
Definition at line 118 of file PDF.cc.
|
protectedinherited |
|
private |
|
private |