Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fullmod = glm(Response ~ page_views_90d+win_visits+osx_visits+mc_1+mc_2+mc_3+mc_4+mc_5+mc_6+store_page+orders+orderlines+bookings+purchase, data=training, family=binomial)
- summary(fullmod)
- fullmod.results <- predict(fullmod, newdata = testing, type='response')
- plotLift(fitted.results, test_data_full$class, cumulative = TRUE,col="orange", n.buckets = 5)
- redmod1 = glm(Response ~ win_visits+osx_visits+mc_2+mc_4+mc_6+store_page+orders+orderlines+bookings+purchase, data=training, family=binomial)
- redmod1.results <- predict(redmod1, newdata = testing, type = 'response')
- plotLift(redmod1.results, test_data_full$class, cumulative = TRUE,col="orange", n.buckets = 5)
- # Attempt to plot multiple classifiers
- plotLift((redmod1.results, fullmod.results), test_data_full$class, cumulative = TRUE,col="orange", n.buckets = 5)
Add Comment
Please, Sign In to add comment