View source: R/autoscale_class.R
autoscale | R Documentation |
Each variable/feature is mean centred and scaled by the standard deviation. The transformed variables have zero-mean and unit-variance.
autoscale(mode = "data", ...)
mode |
(character) Mode of action. Allowed values are limited to the following:
The default is |
... |
Additional slots and values passed to |
A autoscale
object with the following output
slots:
autoscaled | (DatasetExperiment) |
mean_data | (numeric) |
sd_data | (numeric) |
mean_sample_meta | (numeric) |
sd_sample_meta | (numeric) |
A autoscale
object inherits the following struct
classes:
[autoscale]
>> [model]
>> [struct_class]
M = autoscale(
mode = "data")
D = iris_DatasetExperiment()
M = autoscale()
M = model_train(M,D)
M = model_predict(M,D)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.