Module view.ParamConfigurator
Dialog to configure the network training parameters.
Functions
ParamConfigurator.new (parent) | Constructor. |
ParamConfigurator:run (network) | Runs the network configurator. |
(private) ParamConfigurator:build_gui (parent) | Builds the interface. |
(private) ParamConfigurator:clear (algo_id) | Clears the interface. |
(private) ParamConfigurator:get_widget_table (algo_id) | Gets the widget table for an algorithm. |
(private) ParamConfigurator:load_helper () | Helper function to prevent recursive looping. |
(private) ParamConfigurator:load_params (network) | Prepares the interface for a training algorithm (adjusts the parameters). |
(private) ParamConfigurator:save_params (network) | Saves the parameters configured in the form to the network. |
Functions
- ParamConfigurator.new (parent)
-
Constructor.
Parameters
- parent: Parent window
- ParamConfigurator:run (network)
-
Runs the network configurator.
Parameters
- network: Network to be configured
Return value:
true if the network changed - (private) ParamConfigurator:build_gui (parent)
-
Builds the interface.
Parameters
- parent:
- (private) ParamConfigurator:clear (algo_id)
-
Clears the interface.
Parameters
- algo_id:
- (private) ParamConfigurator:get_widget_table (algo_id)
-
Gets the widget table for an algorithm.
Parameters
- algo_id: Algorithm to get the tables for
- (private) ParamConfigurator:load_helper ()
- Helper function to prevent recursive looping. Called when the self.algo_combo changes.
- (private) ParamConfigurator:load_params (network)
-
Prepares the interface for a training algorithm (adjusts the parameters).
Parameters
- network: Network to configure
- (private) ParamConfigurator:save_params (network)
-
Saves the parameters configured in the form to the network.
Parameters
- network: Network where the parameters will be saved to