9 #ifndef INCREMENTALNEURONS_H
10 #define INCREMENTALNEURONS_H
26 #include "training_strategy.h"
27 #include "neurons_selection.h"
100 void save(
const string&)
const;
101 void load(
const string&);
IncrementalNeuronsResults()
Default constructor.
This structure contains the training results for the incremental order method.
size_t step
Number of neurons added at each iteration.
void set_step(const size_t &)
IncrementalNeuronsResults * perform_neurons_selection()
Perform the neurons selection with the Incremental method.
This template class defines a matrix for general purpose use.
const size_t & get_step() const
Returns the number of the hidden perceptrons pointed in each iteration of the Incremental algorithm.
IncrementalNeurons()
Default constructor.
void from_XML(const tinyxml2::XMLDocument &)
This class represents the concept of training strategy for a neural network in OpenNN.
virtual ~IncrementalNeuronsResults()
Destructor.
This concrete class represents an incremental algorithm for the NeuronsSelection as part of the Model...
This abstract class represents the concept of neurons selection algorithm for a ModelSelection[1].
void load(const string &)
void save(const string &) const
virtual ~IncrementalNeurons()
Destructor.
This structure contains the results from the order selection.
Matrix< string > to_string_matrix() const
Writes as matrix of strings the most representative atributes.
void set_maximum_selection_failures(const size_t &)
size_t maximum_selection_failures
Maximum number of iterations at which the selection error increases.
tinyxml2::XMLDocument * to_XML() const
void set_default()
Sets the members of the model selection object to their default values:
const size_t & get_maximum_selection_failures() const
Returns the maximum number of selection failures in the model order selection algorithm.
void write_XML(tinyxml2::XMLPrinter &) const