Loading...
Searching...
No Matches
Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
opennn::InputSelection Class Referenceabstract
#include <opennn/model_selection/input_selection.h>
Inheritance diagram for opennn::InputSelection:
Public Types | |
| enum class | StoppingCondition { MaximumTime , ValidationErrorGoal , MaximumInputs , MaximumEpochs , MaximumValidationFailures } |
Public Member Functions | |
| InputSelection (Training *=nullptr) | |
| virtual | ~InputSelection ()=default |
| virtual Index | get_minimum_inputs_number () const =0 |
| virtual Index | get_maximum_inputs_number () const =0 |
| virtual InputSelectionResult | perform_input_selection ()=0 |
| string | get_name () const |
| virtual void | from_JSON (const JsonDocument &)=0 |
| virtual void | to_JSON (JsonWriter &) const =0 |
| void | save (const filesystem::path &) const |
| void | load (const filesystem::path &) |
Public Member Functions inherited from opennn::SelectionAlgorithm | |
| SelectionAlgorithm (Training *new_training=nullptr) | |
| virtual | ~SelectionAlgorithm ()=default |
| const Training * | get_training () const noexcept |
| void | set (Training *new_training) |
| void | set_trials_number (const Index new_trials_number) |
| void | set_display (bool new_display) |
| void | set_validation_error_goal (const float new_validation_error_goal) |
| void | set_maximum_epochs (const Index new_maximum_epochs) |
| void | set_maximum_validation_failures (const Index new_maximum_validation_failures) |
| void | set_maximum_time (const float new_maximum_time) |
| void | set_folds_number (const Index new_folds_number) |
Protected Member Functions | |
| void | configure_network_inputs (Network *, Dataset *, Index) const |
| void | install_optimal_inputs (Network *, Dataset *, const vector< Index > &optimal_input_indices, const vector< Index > &target_indices, const vector< Index > &time_indices) const |
Protected Attributes | |
| string | name |
Protected Attributes inherited from opennn::SelectionAlgorithm | |
| Training * | training = nullptr |
| Index | trials_number = 1 |
| Index | folds_number = 1 |
| bool | display = true |
| float | validation_error_goal = 0 |
| Index | maximum_epochs = 10 |
| Index | maximum_validation_failures = 100 |
| float | maximum_time = 0 |
Member Enumeration Documentation
◆ StoppingCondition
|
strong |
Constructor & Destructor Documentation
◆ InputSelection()
|
explicit |
◆ ~InputSelection()
|
virtualdefault |
Member Function Documentation
◆ configure_network_inputs()
|
protected |
◆ from_JSON()
|
pure virtual |
Implemented in opennn::GeneticAlgorithm, and opennn::GrowingInputs.
◆ get_maximum_inputs_number()
|
pure virtual |
Implemented in opennn::GeneticAlgorithm, and opennn::GrowingInputs.
◆ get_minimum_inputs_number()
|
pure virtual |
Implemented in opennn::GeneticAlgorithm, and opennn::GrowingInputs.
◆ get_name()
|
inline |
◆ install_optimal_inputs()
|
protected |
◆ load()
| void opennn::InputSelection::load | ( | const filesystem::path & | ) |
◆ perform_input_selection()
|
pure virtual |
Implemented in opennn::GeneticAlgorithm, and opennn::GrowingInputs.
◆ save()
| void opennn::InputSelection::save | ( | const filesystem::path & | ) | const |
◆ to_JSON()
|
pure virtual |
Implemented in opennn::GeneticAlgorithm, and opennn::GrowingInputs.
Member Data Documentation
◆ name
|
protected |
Public Member Functions inherited from