Description Usage Arguments Details Value Note Author(s) References See Also Examples
When a classificator is run on a set of 1,2,..., k groups it returns a possibile classification schemes, but it does not know the correspondence of original gruoups and given groups. This function return the permutation of original group versus output group that maximizes the trace of the confusion matrix.
1 | bestPermutation(origClass, inizOutput)
|
origClass |
original group identification vector |
inizOutput |
classified group identification vector |
Program fails if number of original groups differs from identified groups as in inizOutput
.
An object of class bestPermutation containing:
permutation |
Best permutation |
groups |
Classification with respect to best permutation |
Shall be improved
Giorgio Spedicato
Giorgio Spedicato
1 2 3 4 | #non sense example
x=c(1,2,3)
y=c(1,2,3)
bestPermutation(x,y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.