gaussClassifier | R Documentation |
Train or apply a Gaussian classifier..
gaussClassifier(gauss, y, realC, method = "train")
gauss |
List created by gaussCreate. Contains also the elements:
|
y |
K x M matrix where K is the total number of patterns and M is the number of variables used for classification. I.e. each row of y contains the data for one pattern. |
realC |
1 x K matrix with NCLASS distinct real class labels needed only for method='train'. In case of method="apply" realC is not used and can have any value |
method |
either "train" (default) or "apply" |
list gauss
containing
gauss$predC |
1 x K matrix: the predicted class |
gauss$prob |
K x NCLASS matrix: prob(k,n) is the estimated probability that pattern k belongs to class m |
gaussCreate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.