accuracy_plot {classifierplots} | R Documentation |
Returns a ggplot2 plot object containing an accuracy @ percentile plot
accuracy_plot(test.y, pred.prob, granularity = 0.02, show_numbers = T)
test.y |
List of know labels on the test set |
pred.prob |
List of probability predictions on the test set |
granularity |
Default 0.02, probability step between points in plot. |
show_numbers |
Show values as numbers above the plot line |