The input matrix is column-wise normalized.
normalizeData(x, type = "norm")
column-wise normalized input. The normalization parameters that were used for the normalization are present as attributes
of the output. They can be obtained with getNormParameters
.
input data
type string specifying the type of normalization. Implemented are "0_1", "center", and "norm"
attribute list of a former call to this method to apply e.g. normalization of the training data to the test data
The parameter type
specifies, how normalization takes place:
values are normalized to the [0,1]-interval. The minimum in the data is mapped to zero, the maximum to one.
the data is centered, i.e. the mean is substracted
the data is normalized to mean zero, variance one
denormalizeData
, getNormParameters