mis_rate | R Documentation |
This function computes the population classification error/misclassification rate for heteroscedastic Gaussian models after 1-D projection, given means and covariances of the model and the direction of projection.
mis_rate(a, mu0, mu1, sigma0, sigma1, p0, p1)
a |
A vector representing the direction of projection. |
mu0 |
A vector representing the mean of class 0 |
mu1 |
A vector representing the mean of class 1 |
sigma0 |
An intertible matrix representing the covariance matrix of class 0 |
sigma1 |
An invertible matrix representing the covariance matrix of class 1 |
This function only handles two-class heteroscedastic Gaussian models.
The return value is the classification error/misclassification rate of the two-class heteroscedastic Gaussian model, whose class means are 'mu0' and 'mu1' and class covariance matrices are 'sigma0' and 'sigma1', after 1-D projection onto the direction 'a'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.