Skip to content

Instantly share code, notes, and snippets.

@tonglu
Created September 18, 2014 19:42
Show Gist options
  • Save tonglu/8afffb9c73a6e9392eeb to your computer and use it in GitHub Desktop.
Save tonglu/8afffb9c73a6e9392eeb to your computer and use it in GitHub Desktop.
lift1 <- caret::lift(factor(test_data$dep_var) ~ model2.2.1_v3$predict(test_data), class = "1")
png("~/tmp/output/model2.2.1/validation_v3/lift_chart.png")
xyplot(lift1)
dev.off()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment