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
forked from sriramraju/Optimal-Threshold-Selection
-
Notifications
You must be signed in to change notification settings - Fork 0
stgong/Optimal-Threshold-Selection
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published
Languages
- R 100.0%