Belle II Software  release-05-02-19
PDFExpert Class Reference

Expert for the PDF MVA method. More...

#include <PDF.h>

Inheritance diagram for PDFExpert:
Collaboration diagram for PDFExpert:

Public Member Functions

virtual void load (Weightfile &weightfile) override
 Load the PDF expert from a Weightfile. More...
 
virtual std::vector< float > apply (Dataset &test_data) const override
 Apply PDF 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...
 

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
 

Detailed Description

Expert for the PDF MVA method.

Definition at line 88 of file PDF.h.

Member Function Documentation

◆ apply() [1/2]

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

Apply PDF expert onto a dataset.

Parameters
test_datadataset

Implements Expert.

Definition at line 153 of file PDF.cc.

◆ apply() [2/2]

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

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()

void load ( Weightfile weightfile)
overridevirtual

Load the PDF expert from a Weightfile.

Parameters
weightfilecontaining all information necessary to build the expert

Implements Expert.

Definition at line 128 of file PDF.cc.


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