Binary_threshold {BinarybalancedCut}R Documentation

This Supports the datascientist to determine the optimal threshold for binary classifier problem by visuallizing the sensitivity, specificity and accurarcy of the given model

Description

Prints 'Chart of sensitivity & specificity'.

Usage

Binary_threshold(probability,class)

Arguments

probability

Probability Obtained from the model

class

Actual Class of the datasets

Examples

set.seed(100);disease <- sample(c("yes","no"), 1000, replace=TRUE);
Probabilities<-sample(seq(0,1,by=0.01),1000,replace=TRUE);
Binary_threshold(Probabilities,disease)

[Package BinarybalancedCut version 0.2 Index]