| getPriors | R Documentation |
Get a prior via class proportions.
getPriors(Cls)
Cls |
[1:n] numerical vector with n numbers defining the classification. It has k unique numbers representing the arbitrary labels of the classification. |
Priors |
[1:k] Numeric vector with prior probability for each class. |
Michael Thrun
if(requireNamespace("FCPS")){
data(Hepta)
Data=Hepta$Data
Cls=Hepta$Cls
Priors=getPriors(Cls)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.