Description Usage Arguments Note Examples
The getConfMatr
function returns a confusion matrix from an ensemble created by cfBuild
. The matrix is populated using class predictions for test data, predictions which were obtained during the building and optimisation of the classifier. Each column of the confusion matrix represents the instances in a predicted class, while each row represents the instances in an actual class. Cells in the matrix indicate the percentage of samples predicted to belong to each class. In a perfect ensemble the diagonal elements would all be 100%.
1 | getConfMatr(ensObj)
|
ensObj |
The classification ensemble (in the form of an R list) as generated by |
A graphical representation of this information is provided by ggClassPred
.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.