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

Options for the TMVA Regression MVA method. More...

#include <TMVA.h>

Inheritance diagram for TMVAOptionsRegression:
Collaboration diagram for TMVAOptionsRegression:

Public Member Functions

 TMVAOptionsRegression ()
 Constructor Adds REgression as AnalysisType to the factoryOptions.
 
virtual std::string getMethod () const override
 Return method name.
 
virtual void load (const boost::property_tree::ptree &pt) override
 Load mechanism to load Options from a xml tree. More...
 
virtual void save (boost::property_tree::ptree &pt) const override
 Save mechanism to store Options in a xml tree. More...
 
virtual po::options_description getDescription () override
 Returns a program options description for all available options.
 

Public Attributes

std::string m_method = "BDT"
 tmva method name
 
std::string m_type = "BDT"
 tmva method type
 
std::string m_config
 TMVA config string for the chosen method. More...
 
std::string m_factoryOption = "!V:!Silent:Color:DrawProgressBar"
 Factory options passed to tmva factory.
 
std::string m_prepareOption = "SplitMode=random:!V"
 Prepare options passed to prepareTrainingAndTestTree method.
 
std::string m_workingDirectory = ""
 Working directory of TMVA, if empty a temporary directory is used.
 
std::string m_prefix = "TMVA"
 Prefix used for all files generated by TMVA.
 

Detailed Description

Options for the TMVA Regression MVA method.

Definition at line 166 of file TMVA.h.

Member Function Documentation

◆ load()

void load ( const boost::property_tree::ptree &  pt)
overridevirtualinherited

Load mechanism to load Options from a xml tree.

Parameters
ptxml tree

Implements Options.

Reimplemented in TMVAOptionsMulticlass, and TMVAOptionsClassification.

Definition at line 27 of file TMVA.cc.

◆ save()

void save ( boost::property_tree::ptree &  pt) const
overridevirtualinherited

Save mechanism to store Options in a xml tree.

Parameters
ptxml tree

Implements Options.

Reimplemented in TMVAOptionsMulticlass, and TMVAOptionsClassification.

Definition at line 43 of file TMVA.cc.

Member Data Documentation

◆ m_config

std::string m_config
inherited
Initial value:
=
"!H:!V:CreateMVAPdfs:NTrees=400:BoostType=Grad:Shrinkage=0.1:UseBaggedBoost:BaggedSampleFraction=0.5:nCuts=1024:MaxDepth=3:IgnoreNegWeightsInTraining"

TMVA config string for the chosen method.

Definition at line 66 of file TMVA.h.


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