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

Joining the means and standard deviations with the test data

Similar to the preceding code, we join the means and standard deviations to the test data set separately.

Check the number of rows created. If you want to see the actual results, print a portion of the data as we did with the training data above:

test_means <- crossJoin(test,both) nrow(test_means) 

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