Belle II Software  release-05-01-25
Expert Class Referenceabstract

Abstract base class of all Expert Each MVA library has its own implementation of this class, so all libraries can be accessed via this common interface. More...

#include <Expert.h>

Inheritance diagram for Expert:
Collaboration diagram for Expert:

Public Member Functions

 Expert ()=default
 Default constructor.
 
virtual void load (Weightfile &weightfile)=0
 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...
 
virtual ~Expert ()=default
 Virtual destructor.
 

Protected Attributes

GeneralOptions m_general_options
 General options loaded from the weightfile.
 

Detailed Description

Abstract base class of all Expert Each MVA library has its own implementation of this class, so all libraries can be accessed via this common interface.

Definition at line 33 of file Expert.h.

Member Function Documentation

◆ apply() [1/2]

virtual std::vector<float> apply ( Dataset test_data) const
pure virtual

◆ apply() [2/2]

virtual std::vector<float> apply ( Dataset test_data,
const unsigned int  classID 
) const
inlinevirtual

Apply this expert onto a dataset.

Multi-class mode signature. Not pure virtual, since not all derived classes need to re-implement this.

Parameters
test_datadataset
classIDclass identifier.

Reimplemented in TMVAExpertMulticlass.

Definition at line 59 of file Expert.h.

◆ load()

virtual void load ( Weightfile weightfile)
pure virtual

The documentation for this class was generated from the following file: