Rescale: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Scales data back to original scaling. | Scales data back to original scaling. | ||
===Synopsis=== | ===Synopsis=== | ||
:rx = rescale(x,means,''stds,options'') | :rx = rescale(x,means,''stds,options'') | ||
===Description=== | ===Description=== | ||
Rescales a matrix x using the means means and standard deviation stds vectors specified. An optional input options is an options structure with the field: | Rescales a matrix x using the means means and standard deviation stds vectors specified. An optional input options is an options structure with the field: | ||
rx = rescale(x,means) rescales a mean centered matrix x using a vector of means. | rx = rescale(x,means) rescales a mean centered matrix x using a vector of means. | ||
rx = rescale(x,means,''stds'') rescales an autoscaled matrix x using a vector of means, and vector of standard deviations stds. | rx = rescale(x,means,''stds'') rescales an autoscaled matrix x using a vector of means, and vector of standard deviations stds. | ||
===Options=== | ===Options=== | ||
* '''stdthreshold''': [ 0 ] scalar value or vector of standard deviation threshold values. If a standard deviation is below its corresponding threshold value, the threshold value will be used in lieu of the actual value. A scalar value is used as a threshold for all variables. | * '''stdthreshold''': [ 0 ] scalar value or vector of standard deviation threshold values. If a standard deviation is below its corresponding threshold value, the threshold value will be used in lieu of the actual value. A scalar value is used as a threshold for all variables. | ||
===See Also=== | ===See Also=== | ||
[[auto]], [[medcn]], [[mncn]], [[npreprocess]], [[preprocess]], [[scale]] | [[auto]], [[medcn]], [[mncn]], [[npreprocess]], [[preprocess]], [[scale]] |
Revision as of 15:26, 3 September 2008
Purpose
Scales data back to original scaling.
Synopsis
- rx = rescale(x,means,stds,options)
Description
Rescales a matrix x using the means means and standard deviation stds vectors specified. An optional input options is an options structure with the field:
rx = rescale(x,means) rescales a mean centered matrix x using a vector of means.
rx = rescale(x,means,stds) rescales an autoscaled matrix x using a vector of means, and vector of standard deviations stds.
Options
- stdthreshold: [ 0 ] scalar value or vector of standard deviation threshold values. If a standard deviation is below its corresponding threshold value, the threshold value will be used in lieu of the actual value. A scalar value is used as a threshold for all variables.
See Also
auto, medcn, mncn, npreprocess, preprocess, scale