Orchestrates model selection by combining inputs selection and neurons selection over a TrainingStrategy.
More...
#include <model_selection.h>
Orchestrates model selection by combining inputs selection and neurons selection over a TrainingStrategy.
◆ ModelSelection()
Constructs a model selection bound to an optional training strategy.
◆ check()
| void opennn::ModelSelection::check |
( |
| ) |
const |
Checks that the training strategy and its dependencies are consistent before running selection.
◆ from_JSON()
| void opennn::ModelSelection::from_JSON |
( |
const JsonDocument & | | ) |
|
Loads model selection configuration from a JSON document.
◆ get_training_strategy()
| const TrainingStrategy * opennn::ModelSelection::get_training_strategy |
( |
| ) |
const |
|
inline |
◆ has_training_strategy()
| bool opennn::ModelSelection::has_training_strategy |
( |
| ) |
const |
|
inline |
◆ load()
| void opennn::ModelSelection::load |
( |
const filesystem::path & | | ) |
|
Loads the model selection configuration from disk.
◆ perform_input_selection()
Runs the configured inputs selection algorithm.
- Returns
- Results including the optimal input variables and error histories.
◆ perform_neurons_selection()
Runs the configured neurons selection algorithm.
- Returns
- Results including the optimal neuron count and error histories.
◆ save()
| void opennn::ModelSelection::save |
( |
const filesystem::path & | | ) |
const |
Saves the model selection configuration to disk.
◆ set()
◆ set_default()
| void opennn::ModelSelection::set_default |
( |
| ) |
|
Restores default algorithms and parameters for inputs and neurons selection.
◆ to_JSON()
| void opennn::ModelSelection::to_JSON |
( |
JsonWriter & | | ) |
const |
Writes the current model selection configuration to a JSON writer.