Description Usage Arguments Value See Also Examples
Return the true positive rate and false positive rate for each threshold in the prediction. Need to plot ROC curve
1 |
actual |
Array[Numeric] - 0 or 1 - Values we are aiming to predict. |
predicted |
Array[Numeric] / DataFrame[Numeric] - Between 0 and 1 - Values that we have predicted. |
weight |
Optional: Array[Numeric] - Weighting of predictions. If NULL even weighting is used |
na.rm |
logical. Should missing values be removed? |
dataframe with columns Threshold - value of the threshold TP_Rate - True positive rate FP_Rate - False positive rate
plot_ROC
and metric_ROC
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.