Belle II Software  release-08-01-10
TrivialExpert Class Reference

Expert for the Trivial MVA method. More...

#include <Trivial.h>

Inheritance diagram for TrivialExpert:
Collaboration diagram for TrivialExpert:

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 override
 Apply this expert onto a dataset. More...
 

Protected Attributes

GeneralOptions m_general_options
 General options loaded from the weightfile.
 

Private Attributes

TrivialOptions m_specific_options
 Method specific options.
 

Detailed Description

Expert for the Trivial MVA method.

Used for debugging and testing

Definition at line 86 of file Trivial.h.

Member Function Documentation

◆ apply()

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

Apply this expert onto a dataset.

Parameters
test_datadataset

Implements Expert.

Definition at line 83 of file Trivial.cc.

◆ applyMulticlass()

std::vector< std::vector< float > > applyMulticlass ( Dataset test_data) const
overridevirtual

Apply this expert onto a dataset.

Parameters
test_datadataset

Reimplemented from Expert.

Definition at line 102 of file Trivial.cc.

◆ load()

void load ( Weightfile weightfile)
overridevirtual

Load the expert from a Weightfile.

Parameters
weightfilecontaining all information necessary to build the expert

Implements Expert.

Definition at line 77 of file Trivial.cc.


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