Belle II Software  release-08-01-10
RegressionOptions< BaseClassifierOptions > Class Template Referenceabstract

Generic options of the Regression MVA methods hosting the number of bins (and the base classifier options). More...

#include <Regression.h>

Inheritance diagram for RegressionOptions< BaseClassifierOptions >:
Collaboration diagram for RegressionOptions< BaseClassifierOptions >:

Public Member Functions

void load (const boost::property_tree::ptree &pt) override
 Load the options from a boost property tree. Only loads the maximal bin number.
 
void save (boost::property_tree::ptree &pt) const override
 Save the options from a boost property tree. Only saves the maximal bin number.
 
po::options_description getDescription () override
 Get the descriptions for these options.
 
const BaseClassifierOptions & getBaseClassifierOptions () const
 Return options of the base classifier (const version)
 
BaseClassifierOptions & getBaseClassifierOptions ()
 Return options of the base classifier (non-const version)
 
unsigned int getMaximalBinNumber () const
 Return the number of bins to use.
 
void setMaximalBinNumber (unsigned int maximalBinNumber)
 Set the number of bins to use.
 
virtual std::string getMethod () const =0
 Returns method name, used in the interface to register the method.
 

Private Attributes

BaseClassifierOptions m_baseClassifierOptions
 Options of the base classifier.
 
unsigned int m_numberOfBins = 4
 How many bins to use.
 

Detailed Description

template<class BaseClassifierOptions>
class Belle2::MVA::RegressionOptions< BaseClassifierOptions >

Generic options of the Regression MVA methods hosting the number of bins (and the base classifier options).

You need to override this to add a getMethod() function. See the RegressionFastBDTOptions as an example.

Definition at line 34 of file Regression.h.


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