Returns a program options description for all available options.
70 {
71 po::options_description description("FANN options");
72 description.add_options()
73 (
"max_epochs", po::value<unsigned int>(&
m_max_epochs),
"Number of iEpochs")
74 (
"verbose_mode", po::value<bool>(&
m_verbose_mode),
"Prints out the training status or not")
76 "Architecture with number of neurons in each hidden layer")
78 "Name of acitvation function used for hidden layers")
80 "Name of acitvation function used for output layer")
81 (
"error_function", po::value<std::string>(&
m_error_function),
"Name of error function")
82 (
"training_method", po::value<std::string>(&
m_training_method),
"Method used for backpropagation")
83 (
"validation_fraction", po::value<double>(&
m_validation_fraction),
"Fraction of training sample used for validation.")
85 "Number of times the training is repeated with a new weight random seed.")
86 (
"test_rate", po::value<unsigned int>(&
m_test_rate),
"Rate of iEpochs to check the validation error")
87 (
"number_of_threads", po::value<unsigned int>(&
m_number_of_threads),
"Number of threads for parallel training")
88 (
"scale_features", po::value<bool>(&
m_scale_features),
"Boolean indicating if features should be scaled or not")
89 (
"scale_target", po::value<bool>(&
m_scale_target),
"Boolean indicating if target should be scaled or not");
90 return description;
91 }
double m_validation_fraction
Fraction of training sample used for validation in order to avoid overtraining.
std::string m_hidden_layers_architecture
String containing the architecture of hidden neurons.
bool m_scale_features
Scale features before training.
bool m_verbose_mode
Sets to report training status or not.
unsigned int m_random_seeds
Number of times the training is repeated with a new weight random seed.
std::string m_error_function
Loss function.
unsigned int m_number_of_threads
Number of threads for parallel training.
unsigned int m_test_rate
Error on validation is compared with the one before.
std::string m_hidden_activiation_function
Activation function in hidden layer.
bool m_scale_target
Scale target before training.
std::string m_training_method
Training method for back propagation.
std::string m_output_activiation_function
Activation function in output layer.
unsigned int m_max_epochs
Maximum number of epochs.