OpenNN
Open-source neural networks library
Loading...
Searching...
No Matches
growing_neurons.h
Go to the documentation of this file.
1// OpenNN: Open Neural Networks Library
2// www.opennn.net
3//
4// G R O W I N G N E U R O N S C L A S S H E A D E R
5//
6// Artificial Intelligence Techniques SL
7// artelnics@artelnics.com
8
9#pragma once
10
11#include "neuron_selection.h"
12
13namespace opennn
14{
15
16struct GrowingNeuronsResults;
17
19class GrowingNeurons final : public NeuronSelection
20{
21
22public:
23
26
29
31 void set_neurons_increment(const Index);
32
36
38 void from_JSON(const JsonDocument&) override;
39
41 void to_JSON(JsonWriter&) const override;
42
43private:
44
45 Index neurons_increment = 0;
46
47};
48
49}
50
51// OpenNN: Open Neural Networks Library.
52// Copyright(C) 2005-2026 Artificial Intelligence Techniques, SL.
53// Licensed under the GNU Lesser General Public License v2.1 or later.
GrowingNeurons(TrainingStrategy *=nullptr)
Constructs the algorithm bound to an optional training strategy.
void set_default()
Restores default search bounds and stopping criteria.
void to_JSON(JsonWriter &) const override
Writes algorithm configuration to a JSON writer.
void set_neurons_increment(const Index)
Sets the step size used when growing the number of neurons between trials.
void from_JSON(const JsonDocument &) override
Loads algorithm configuration from a JSON document.
NeuronsSelectionResults perform_neurons_selection() override
Runs the neuron growing procedure until the stopping criterion is met.
Definition json.h:72
Definition json.h:85
NeuronSelection(TrainingStrategy *=nullptr)
Constructs the algorithm bound to an optional training strategy.
High-level orchestrator pairing a Loss with an Optimizer for a network/dataset.
Definition training_strategy.h:24
Definition adaptive_moment_estimation.h:14
Aggregated results of a neurons selection run including the optimal neuron count and error histories.
Definition neuron_selection.h:111