O'Reilly logo

Practical Predictive Analytics by Ralph Winters

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

Validating the model

Earlier, we created the ChurnStudy.test testing dataset and did not use it to train our cox regression model. After we created it, we just put it off to the side. We will demonstrate one way to use this hold out dataset to validate the training results obtained from CoxModel1.

Locate the #predict=== label and run the following code:

#predict====par(mfrow=c(1,1))#

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