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

Fitting the model to the test data

Fit the model on the test data and print out some of the results obtained for the test data:

fitted_test <- predict(model, test_normal) SparkR:::registerTempTable(fitted_test,"fitted_tbl_test") head(fitted_test) 

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