Description Usage Arguments Value
Calculates a shrunken covariance matrix to be passed as the demoninator in the LDA formula. The shrunken matrix is in the subspace of the components that capture 95% of the variation of the dataset.
1 | shrink_mat(R, samples_count, r)
|
R |
PCA scores |
samples_count |
number of samples to explain 95% of the variance |
r |
regularisation factor to smooth covariance matrix in order to reduce noise. 1 is no regularisatoin. |
covariance matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.