Skip to content

R-code to choose the optimal threshold using the ROC, sensitivity, specificity and accuracy curves. The function in R

Notifications You must be signed in to change notification settings

stgong/Optimal-Threshold-Selection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Optimal-Threshold-Selection

R-code to choose the optimal threshold using the ROC, sensitivity, specificity and accuracy curves. The function in R takes 2 inputs and outputs the plots with varying threshold. Inputs: values - This is a single column matrix and contains values between 0 and 1. classes - This single colomn matrix contains the labels for each of the values mentioned under "values". The labels should just have 2 classes i.e. 0 and 1

About

R-code to choose the optimal threshold using the ROC, sensitivity, specificity and accuracy curves. The function in R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%