powered by
Output a data.frame with inputs (y, yhat) and tpr, fpr and ks.
data.frame
ks_table(yhat, y)
numeric the value predicted by your model.
numeric the target values.
The data frame containing tpr, fpr and ks.
# NOT RUN { data("two_class_example_edited") max(ks_table(two_class_example_edited$yhat, two_class_example_edited$y)$ks) # }
Run the code above in your browser using DataLab