O'Reilly logo

IBM SPSS Modeler Cookbook by Scott Mutchler, Tom Khabaza, Meta S. Brown, Dean Abbott, Keith McCormick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating bagged logistic regression models

Many modeling algorithms in Modeler have Bagging and Boosting options already built-in. However, some models do not, including Logistic Regression. Even for these algorithms that do not have Bagging and Boosting, these model ensembles can help predictive accuracy significantly. In this recipe we learn how to build a bagged ensemble of logistic regression models from 10 bootstrap samples.

Getting ready

This recipe uses the datafile cup98lrn_reduced_vars3.sav and the stream Recipe – bootstrap ensemble.str.

How to do it...

To create bagged logistic regression models:

  1. Open the stream Recipe – bootstrap ensemble.str by navigating to File | Open Stream.
  2. Make sure the datafile points to the correct path to cup98lrn_reduced_vars3.sav ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required