 |
Belle II Software
release-05-02-19
|
12 #ifndef INCLUDE_GUARD_BELLE2_MVA_EXPERT_HEADER
13 #define INCLUDE_GUARD_BELLE2_MVA_EXPERT_HEADER
15 #include <mva/interface/Options.h>
16 #include <mva/interface/Dataset.h>
17 #include <mva/interface/Weightfile.h>
50 virtual std::vector<float>
apply(
Dataset& test_data)
const = 0;
59 virtual std::vector<float>
apply(
Dataset& test_data,
const unsigned int classID)
const
65 return std::vector<float>();
Expert()=default
Default constructor.
Abstract base class of all Datasets given to the MVA interface The current event can always be access...
The Weightfile class serializes all information about a training into an xml tree.
virtual void load(Weightfile &weightfile)=0
Load the expert from a Weightfile.
virtual ~Expert()=default
Virtual destructor.
Abstract base class for different kinds of events.
Abstract base class of all Expert Each MVA library has its own implementation of this class,...
General options which are shared by all MVA trainings.
GeneralOptions m_general_options
General options loaded from the weightfile.
virtual std::vector< float > apply(Dataset &test_data) const =0
Apply this expert onto a dataset.
virtual std::vector< float > apply(Dataset &test_data, const unsigned int classID) const
Apply this expert onto a dataset.