Learn R Programming

scorecard (version 0.1.5)

perf_plot: renamed as perf_eva

Description

The function perf_plot has renamed as perf_eva.

Usage

perf_plot(label, pred, title = "train", groupnum = 20, type = c("ks",
  "roc"), show_plot = TRUE, seed = 186)

Arguments

label

Label values, such as 0s and 1s, 0 represent for good and 1 for bad.

pred

Predicted probability values.

title

Title of plot, default "train".

groupnum

The group numbers when calculating bad probability, default 20.

type

Types of performance plot, such as "ks", "lift", "roc", "pr". Default c("ks", "roc").

show_plot

Logical value, default TRUE. It means whether to show plot.

seed

An integer. The specify seed is used for random sorting data, default: 186.