ks_table {rawKS} | R Documentation |
Get KS statistics
Description
Output a data.frame
with inputs (y, yhat) and tpr, fpr and ks.
Usage
ks_table(yhat, y)
Arguments
yhat |
numeric the value predicted by your model. |
y |
numeric the target values. |
Value
The data frame containing tpr, fpr and ks.
Examples
data("two_class_example_edited")
max(ks_table(two_class_example_edited$yhat, two_class_example_edited$y)$ks)
[Package rawKS version 0.1.0 Index]