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

Running the initialization code

The initialization code merely sets some options for later use and has no real output. We will just print "Hello World" to make sure that it is working:

options(digits=3) options(repr.plot.width = 1000, repr.plot.height = 500, repr.plot.res = 144, repr.plot.pointsize = 5) rep_times=1000 cat("Hello World")  

The output cell prints Hello World and also gives you the time it took to run, the username, time and time, as well as the cluster it ran on. Pay close attention to the length of time that each code chunk ran. It will be useful for benchmarking code at a later date.

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