createConfusionMatrix: From stony-brook results, compute a confusion matrix

Description Usage Arguments

View source: R/createConfusionMatrix.R

Description

This function returns a data frame with a confusion matrix for the given predictions, having the fields "prediction" and "response".

Usage

1
createConfusionMatrix(predictions, threshold = 0.5)

Arguments

predictions

data frame with fields "prediction" and "response"

threshold

threshold value for success


John-Poplett/novels documentation built on Jan. 28, 2020, 12:02 a.m.