Module view.ScaleDialog

Dialog to scale training / test datas.

Functions

ScaleDialog.new (parent) Constructor.
ScaleDialog:run (data) Runs the dialog.
(private) ScaleDialog:build_gui (parent) Builds the interface.
(private) ScaleDialog:recalc_range () Recalculates the range of each spin
(private) ScaleDialog:scale () Scales the data.


Functions

ScaleDialog.new (parent)
Constructor.

Parameters

  • parent: Parent window

Return value:

New instance of ScaleDialog
ScaleDialog:run (data)
Runs the dialog.

Parameters

  • data: Data to be scaled

Return value:

true if the data was scaled, false otherwise
(private) ScaleDialog:build_gui (parent)
Builds the interface.

Parameters

  • parent:
(private) ScaleDialog:recalc_range ()
Recalculates the range of each spin
(private) ScaleDialog:scale ()
Scales the data.

Valid XHTML 1.0!