confusionMatrix: Make confusion matrix

Description Usage Arguments Details Value Examples

View source: R/helper.R

Description

Make confusion matrix

Usage

1

Arguments

model

(list) output of buildPredictor()

Details

Creates a confusion matrix, a square matrix which indicates the fraction of times patients in a class are correctly classified, versus misclassified as each of the other classes. Here, the confusion matrix is computed once per train-test split and the average is displayed. For this reason, the fractions may not cleanly add up to 100

Value

(list) confusion matrix for all train/test splits and final averaged matrix Side effect of plotting the averaged matrix.

Examples

1
2

BaderLab/netDx documentation built on Sept. 26, 2021, 9:13 a.m.