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

Teacher for the FANN MVA method. More...

#include <FANN.h>

Inheritance diagram for FANNTeacher:
Collaboration diagram for FANNTeacher:

Public Member Functions

 FANNTeacher (const GeneralOptions &general_options, const FANNOptions &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...
 

Protected Attributes

GeneralOptions m_general_options
 GeneralOptions containing all shared options.
 

Private Attributes

FANNOptions m_specific_options
 Method specific options.
 

Detailed Description

Teacher for the FANN MVA method.

Definition at line 85 of file FANN.h.

Constructor & Destructor Documentation

◆ FANNTeacher()

FANNTeacher ( const GeneralOptions general_options,
const FANNOptions specific_options 
)

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

Parameters
general_optionsdefining all shared options
specific_optionsdefininf all method specific options

Definition at line 26 of file FANN.cc.

26  : Teacher(general_options),
27  m_specific_options(specific_options) { }
FANNOptions m_specific_options
Method specific options.
Definition: FANN.h:102
Teacher(const GeneralOptions &general_options)
Constructs a new teacher using the GeneralOptions for this training.
Definition: Teacher.cc:18

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 30 of file FANN.cc.


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