Module view.WeightInitializer

Dialog to (re)initialize the weights of the connections of a network.

Functions

WeightInitializer.new (ctrl, parent, Parent) Constructor.
WeightInitializer:run (project) Runs the dialog.
(private) WeightInitializer:build_gui (parent) Builds the interface.
(private) WeightInitializer:initialize () Initialize the current network weights, using the Nguyen-Widrow algorithm.
(private) WeightInitializer:randomize () Randomized the current network weights.
(private) WeightInitializer:recalc_range () Recalculates the range of each spin.
(private) filter (data) Filters the data that can be used to the weight initialization.


Functions

WeightInitializer.new (ctrl, parent, Parent)
Constructor.

Parameters

  • ctrl: Application controller, used to emit events
  • parent:
  • Parent: parent window

Return value:

New instance of WeightInitializer
WeightInitializer:run (project)
Runs the dialog.

Parameters

  • project: Project that contains the network to initialize connection weights
(private) WeightInitializer:build_gui (parent)
Builds the interface.

Parameters

  • parent: Parent window
(private) WeightInitializer:initialize ()
Initialize the current network weights, using the Nguyen-Widrow algorithm.
(private) WeightInitializer:randomize ()
Randomized the current network weights.
(private) WeightInitializer:recalc_range ()
Recalculates the range of each spin.
(private) filter (data)
Filters the data that can be used to the weight initialization.

Parameters

  • data:

Valid XHTML 1.0!