Description Usage Arguments Details Value
This function calculates the net reclassification improvement (NRI) metric comparing two models at a range of predicting tresholds
1 | getThresholds(plpModel1, plpModel2, percentage = c(0.99, 0.95, 0.9, 0.5))
|
plpModel1 |
The object returned by runPlp() containing the trained model or the output when implementing an existing model |
plpModel2 |
The object returned by runPlp() containing the trained model or the output when implementing an existing model |
percentage |
A quantile percentage (e.g., c(0.99, 0.95)) will find the threshold that only 1 percent and 5 percent of people have a risk equal to or higher than for both models |
Users need to input a trained model (the output of runPlp()) or the output of running an existing model
A data.frame with each column being the risk thresholds per model and rows corresponding to the input quantiles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.