![]() |
Belle II Software prerelease-10-00-00a
|
Expert for the FANN MVA method. More...
#include <FANN.h>
Public Member Functions | |
virtual | ~FANNExpert () |
Destructor of FANN Expert. | |
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 | |
FANNOptions | m_specific_options |
Method specific options. | |
struct fann * | m_ann = nullptr |
Pointer to FANN expert. | |
|
virtual |
|
overridevirtual |
Apply this expert onto a dataset.
test_data | dataset |
Implements Expert.
Definition at line 333 of file FANN.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 expert from a Weightfile.
weightfile | containing all information necessary to build the expert |
Implements Expert.
Definition at line 319 of file FANN.cc.
|
protectedinherited |
|
private |