getConfusion: Calculates the confussion matrix

Description Usage Arguments Value Author(s)

View source: R/getConfusion.R

Description

Calculates the confussion matrix

Usage

1
getConfusion(score, response, 0.5)

Arguments

score

prediction scores or probabilities to evaluate.

response

Boolean vector of real values.

asMatric

Should the function return a matrix object? otherwise will be a dataframe.

unbral

should confussion matrix be retourned as percentages.

Value

RReturns the conffusin matrix

Author(s)

Daniel Fischer


danielfm123/dftools documentation built on July 17, 2021, 1 p.m.