This is a function to apply z-Score normalization to a matrix or dataframe.
The dataset to be normalized, including classes
By using this type of normalization, the mean of the transformed set of data points is reduced to zero by subtracting the mean of each attribute from the values of the attributes and dividing the result by the standard deviation of the attribute. Uses the function scale found in the base library.
Removes classes before normalization, and returns normalized data set complete with classes rejoined.
the normalized data set
Caroline Rodriguez and Edgar Acuna
Hann, J., Kamber, M. (2000). Data Mining: Concepts and Techniques. Morgan Kaufman Publishers.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.