9#ifndef GROWINGNEURONS_H
10#define GROWINGNEURONS_H
24#include "training_strategy.h"
25#include "neurons_selection.h"
31struct GrowingNeuronsResults;
79 void save(
const string&)
const;
80 void load(
const string&);
This concrete class represents an growing neurons algorithm for the NeuronsSelection as part of the M...
void set_maximum_selection_failures(const Index &)
virtual ~GrowingNeurons()
Destructor.
void from_XML(const tinyxml2::XMLDocument &)
void set_default()
Sets the members of the model selection object to their default values:
void load(const string &)
GrowingNeurons()
Default constructor.
NeuronsSelectionResults perform_neurons_selection()
Perform neurons selection with the growing neurons method.
Tensor< string, 2 > to_string_matrix() const
Writes as matrix of strings the most representative atributes.
Index neurons_increment
Number of neurons added at each iteration.
void save(const string &) const
void set_neurons_increment(const Index &)
const Index & get_step() const
Returns the number of the hidden perceptrons pointed in each iteration of the growing neurons algorit...
void write_XML(tinyxml2::XMLPrinter &) const
const Index & get_maximum_selection_failures() const
Returns the maximum number of selection failures in the model neurons selection algorithm.
Index maximum_selection_failures
Maximum number of epochs at which the selection error increases.
This abstract class represents the concept of neurons selection algorithm for a ModelSelection[1].
This class represents the concept of training strategy for a neural network in OpenNN.
This structure contains the results from the neurons selection.