Options for the FANN MVA method.
More...
#include <FANN.h>
|
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.
|
|
virtual std::string | getMethod () const override |
| Return method name.
|
|
std::vector< unsigned int > | getHiddenLayerNeurons (unsigned int nf) const |
| Returns the internal vector parameter with the number of hidden neurons per layer. More...
|
|
Options for the FANN MVA method.
Definition at line 31 of file FANN.h.
◆ getHiddenLayerNeurons()
std::vector< unsigned int > getHiddenLayerNeurons |
( |
unsigned int |
nf | ) |
const |
Returns the internal vector parameter with the number of hidden neurons per layer.
- Parameters
-
nf | number of features (input nodes). |
Definition at line 103 of file FANNOptions.cc.
◆ load()
void load |
( |
const boost::property_tree::ptree & |
pt | ) |
|
|
overridevirtual |
◆ save()
void save |
( |
boost::property_tree::ptree & |
pt | ) |
const |
|
overridevirtual |
◆ m_hidden_layers_architecture
std::string m_hidden_layers_architecture = "3*N" |
String containing the architecture of hidden neurons.
Ex. "3,3*N,3*(N-1)
Definition at line 64 of file FANN.h.
◆ m_random_seeds
unsigned int m_random_seeds |
Initial value:
Number of times the training is repeated with a new weight random seed.
The one with the best result is saved.
Definition at line 72 of file FANN.h.
◆ m_test_rate
Initial value:
Error on validation is compared with the one before.
The number of epochs before is given by this parameter.
Definition at line 74 of file FANN.h.
The documentation for this class was generated from the following files: