Belle II Software light-2406-ragdoll
|
Generic options of the Regression MVA methods hosting the number of bins (and the base classifier options). More...
#include <Regression.h>
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. | |
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.
BaseClassifierOptions & getBaseClassifierOptions |
Return options of the base classifier (non-const version)
Definition at line 221 of file Regression.h.
const BaseClassifierOptions & getBaseClassifierOptions |
Return options of the base classifier (const version)
Definition at line 215 of file Regression.h.
|
overridevirtual |
Get the descriptions for these options.
Implements Options.
Definition at line 233 of file Regression.h.
unsigned int getMaximalBinNumber |
Return the number of bins to use.
Definition at line 203 of file Regression.h.
|
pure virtualinherited |
Returns method name, used in the interface to register the method.
Implemented in CombinationOptions, FANNOptions, FastBDTOptions, PDFOptions, PythonOptions, RegressionFastBDTOptions, ReweighterOptions, TMVAOptions, TMVAOptionsClassification, TMVAOptionsMulticlass, TMVAOptionsRegression, and TrivialOptions.
|
overridevirtual |
Load the options from a boost property tree. Only loads the maximal bin number.
Implements Options.
Definition at line 197 of file Regression.h.
|
overridevirtual |
Save the options from a boost property tree. Only saves the maximal bin number.
Implements Options.
Definition at line 227 of file Regression.h.
void setMaximalBinNumber | ( | unsigned int | maximalBinNumber | ) |
Set the number of bins to use.
Definition at line 209 of file Regression.h.
|
private |
Options of the base classifier.
Definition at line 59 of file Regression.h.
|
private |
How many bins to use.
Definition at line 61 of file Regression.h.