Belle II Software  release-08-01-10
TMVATeacher Class Referenceabstract

Teacher for the TMVA MVA method. More...

#include <TMVA.h>

Inheritance diagram for TMVATeacher:
Collaboration diagram for TMVATeacher:

Public Member Functions

 TMVATeacher (const GeneralOptions &general_options, const TMVAOptions &_specific_options)
 Constructs a new teacher using the GeneralOptions and specific options of this training. 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...
 
virtual Weightfile train (Dataset &training_data) const =0
 Train a mva method using the given dataset returning a Weightfile. More...
 

Protected Attributes

GeneralOptions m_general_options
 GeneralOptions containing all shared options.
 

Private Attributes

TMVAOptions specific_options
 Method specific options.
 

Detailed Description

Teacher for the TMVA MVA method.

Definition at line 188 of file TMVA.h.

Constructor & Destructor Documentation

◆ TMVATeacher()

TMVATeacher ( const GeneralOptions general_options,
const TMVAOptions _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 119 of file TMVA.cc.

Member Function Documentation

◆ train()

virtual Weightfile train ( Dataset training_data) const
pure virtualinherited

◆ trainFactory()

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.

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: