Normalize the entries of a link::Classes/FluidDataSet::, or normalize a data point according to the learned bounds of a data set. On the server.
Scales the entries of a link::Classes/FluidDataSet::, or scales a data point according to the learned values of a data set. It will centre the median of each dimension to 0, and will scale the data to +/- the provided centiles, by default providing the first and third qartile (25 and 75).All happens on the server.
See http://www.faqs.org/faqs/ai-faq/neural-nets/part2/section-16.html
See https://scikit-learn.org/stable/auto_examples/preprocessing/plot_all_scaling.html#robustscaler
CLASSMETHODS::
@ -17,48 +17,48 @@ Create a new instance
ARGUMENT:: server
The link::Classes/Server:: on which to run
ARGUMENT:: low
Maximum output value, default 1
The low centile boundary, default 25.
ARGUMENT:: high
Maximum output value, default 1
The high centile boundary, default 75.
ARGUMENT:: invert
The direction in which the normalization will occur for transform and transformpoint. The default 0 is taking in the range of the input used to fit and transforms it towards the normalised range. A value of 1 will expect an input of the normalized range to transform back to the original range.
The direction in which the scaling will occur for transform and transformpoint. The default 0 is taking in the range of the input used to fit and transforms it towards the robust scaling range. A value of 1 will expect an input of the scaling range to transform back to the original range.
INSTANCEMETHODS::
METHOD:: fit
Compute the normalization factors from a link::Classes/FluidDataSet:: for later.
Compute the scaling factors from a link::Classes/FluidDataSet:: for later.
ARGUMENT:: dataSet
The link::Classes/FluidDataSet:: to normalize
The link::Classes/FluidDataSet:: to scale
ARGUMENT:: action
A function to run when processing is complete
METHOD:: transform
Normalize a link::Classes/FluidDataSet:: into another link::Classes/FluidDataSet::, using the learned extrema from a previous call to link::Classes/FluidRobustScale#fit::
Scale a link::Classes/FluidDataSet:: into another link::Classes/FluidDataSet::, using the learned extrema from a previous call to link::Classes/FluidRobustScale#fit::
ARGUMENT:: sourceDataSet
The link::Classes/FluidDataSet:: to normalize
The link::Classes/FluidDataSet:: to scale
ARGUMENT:: destDataSet
The link::Classes/FluidDataSet:: to populate with normalized data
The link::Classes/FluidDataSet:: to populate with scaled data
ARGUMENT:: action
A function to run when processing is complete
METHOD:: fitTransform
Normalize a link::Classes/FluidDataSet::
Scale a link::Classes/FluidDataSet::
ARGUMENT:: sourceDataSet
The link::Classes/FluidDataSet:: to normalize
The link::Classes/FluidDataSet:: to scale
ARGUMENT:: destDataSet
The link::Classes/FluidDataSet:: to populate with normalized data
The link::Classes/FluidDataSet:: to populate with scaled data
ARGUMENT:: action
A function to run when processing is complete
METHOD:: transformPoint
Normalize a new data point, using the learned extrema from a previous call to link::Classes/FluidRobustScale#fit::
Scale a new data point, using the learned scaling from a previous call to link::Classes/FluidRobustScale#fit::
ARGUMENT:: sourceBuffer
A link::Classes/Buffer:: with the new data point
ARGUMENT:: destBuffer
A link::Classes/Buffer:: to contain the normalized value
A link::Classes/Buffer:: to contain the scaled value