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

Teacher for the TMVA Classification MVA method. More...

#include <TMVA.h>

Inheritance diagram for TMVATeacherClassification:
Collaboration diagram for TMVATeacherClassification:

Public Member Functions

 TMVATeacherClassification (const GeneralOptions &general_options, const TMVAOptionsClassification &_specific_options)
 Constructs a new teacher using the GeneralOptions and specific options of this training. More...
 
virtual Weightfile train (Dataset &training_data) const override
 Train a mva method using the given dataset returning a Weightfile. More...
 
Weightfile trainFactory (TMVA::Factory &factory, TMVA::DataLoader &data_loader, const std::string &jobName) const
 Train a mva method using the given data loader returning a Weightfile. More...
 

Protected Attributes

TMVAOptionsClassification specific_options
 Method specific options.
 
GeneralOptions m_general_options
 GeneralOptions containing all shared options.
 

Detailed Description

Teacher for the TMVA Classification MVA method.

Definition at line 214 of file TMVA.h.

Constructor & Destructor Documentation

◆ TMVATeacherClassification()

TMVATeacherClassification ( const GeneralOptions general_options,
const TMVAOptionsClassification _specific_options 
)

Constructs a new teacher using the GeneralOptions and specific options of this training.

Parameters
general_optionsdefining all shared options
_specific_optionsdefining all method specific options

Definition at line 203 of file TMVA.cc.

Member Function Documentation

◆ train()

Weightfile train ( Dataset training_data) const
overridevirtual

Train a mva method using the given dataset returning a Weightfile.

Parameters
training_dataused to train the method

Implements Teacher.

Definition at line 207 of file TMVA.cc.

◆ trainFactory()

Weightfile trainFactory ( TMVA::Factory &  factory,
TMVA::DataLoader &  data_loader,
const std::string &  jobName 
) const
inherited

Train a mva method using the given data loader returning a Weightfile.

Parameters
factoryused to train the method
data_loaderused to train the method
jobNamename of the TMVA training

Definition at line 122 of file TMVA.cc.


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