The function perf_plot has renamed as perf_eva.
perf_plot(label, pred, title = "train", groupnum = 20, type = c("ks",
"roc"), show_plot = TRUE, seed = 186)
Label values, such as 0s and 1s, 0 represent for good and 1 for bad.
Predicted probability values.
Title of plot, default "train".
The group numbers when calculating bad probability, default 20.
Types of performance plot, such as "ks", "lift", "roc", "pr". Default c("ks", "roc").
Logical value, default TRUE. It means whether to show plot.
An integer. The specify seed is used for random sorting data, default: 186.