Normalize a vector or matrix to zero mean and unit length columns.
a matrix with the training data with observations down the rows and variables in the columns.
This function can e.g. be used for the training data in the
normalize Returns a list with the following attributes:
The normalized data
Mean of columns of
Length of columns of
Logical vector indicating which variables are included in X. If some of the columns have zero length they are omitted
Clemmensen, L., Hastie, T. and Ersboell, K. (2008) "Sparse discriminant analysis", Technical report, IMM, Technical University of Denmark
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.