Book Image

Hands-On Data Science with R

By : Vitor Bianchi Lanzetta, Doug Ortiz, Nataraj Dasgupta, Ricardo Anjoleto Farias
Book Image

Hands-On Data Science with R

By: Vitor Bianchi Lanzetta, Doug Ortiz, Nataraj Dasgupta, Ricardo Anjoleto Farias

Overview of this book

R is the most widely used programming language, and when used in association with data science, this powerful combination will solve the complexities involved with unstructured datasets in the real world. This book covers the entire data science ecosystem for aspiring data scientists, right from zero to a level where you are confident enough to get hands-on with real-world data science problems. The book starts with an introduction to data science and introduces readers to popular R libraries for executing data science routine tasks. This book covers all the important processes in data science such as data gathering, cleaning data, and then uncovering patterns from it. You will explore algorithms such as machine learning algorithms, predictive analytical models, and finally deep learning algorithms. You will learn to run the most powerful visualization packages available in R so as to ensure that you can easily derive insights from your data. Towards the end, you will also learn how to integrate R with Spark and Hadoop and perform large-scale data analytics without much complexity.
Table of Contents (16 chapters)

Using Spark machine learning or H2O Sparking Water

If your objective is to use Spark as a tool for your machine learning projects, this section will introduce you to how it is possible to do so within R. Spark contains its own machine learning library that can be accessed by sparklyr, so it's pretty simple to work your machine learning projects on Spark. The website https://spark.rstudio.com/mlib/ provides a pretty good presentation about Spark Machine Learning library, so remember to visit it to discover the many available functions; they include an example workflow that is short and effective and shows how to sequence your project codes. We already talked about machine learning in Chapter 6, Machine Learning with R; in this section, I'm only going to develop the decision tree studies we did in that chapter, but now using the Spark machine learning library.

The Spark...