View source: R/h2otools_plot.R
1 2 3 4 5 6 | h2o.ggplot.gains(dfGains.train, dfGains.test, title = "Cum. Gain",
ylab = "% responses", xlab = "% customers", addAUC = TRUE,
ndigits = 5, color.train = rgb(0.6, 0.1, 0.1, 0.4),
color.test = rgb(0.1, 0.1, 0.6, 0.4), color.point.train = rgb(0.7, 0.1,
0.1, 0.7), color.point.test = rgb(0.1, 0.1, 0.7, 0.7), color.base = rgb(0,
0, 0, 0.2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.