1 2 3 4 5 6 7 8 | r.plot.wgains(score.train, target.train, weight.train, score.test, target.test,
weight.test, target_value = 1, target_w.train = ifelse(target.train ==
target_value, weight.train, 0), target_w.test = ifelse(target.test ==
target_value, weight.test, 0), npoints = 20, mode = "avg",
main = "Gain Curve", sub = NULL, icol.train = 1, icol.test = 2,
icol.max = 11, col.train = r.color(icol.train),
col.test = r.color(icol.test), col.max = r.color(icol.max),
showMessage = TRUE, showMax = TRUE, ...)
|
mode |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.