Book Image

Mastering Machine Learning with R, Second Edition - Second Edition

Book Image

Mastering Machine Learning with R, Second Edition - Second Edition

Overview of this book

This book will teach you advanced techniques in machine learning with the latest code in R 3.3.2. You will delve into statistical learning theory and supervised learning; design efficient algorithms; learn about creating Recommendation Engines; use multi-class classification and deep learning; and more. You will explore, in depth, topics such as data mining, classification, clustering, regression, predictive modeling, anomaly detection, boosted trees with XGBOOST, and more. More than just knowing the outcome, you’ll understand how these concepts work and what they do. With a slow learning curve on topics such as neural networks, you will explore deep learning, and more. By the end of this book, you will be able to perform machine learning with R in the cloud using AWS in various scenarios with different datasets.
Table of Contents (23 chapters)
Title Page
Credits
About the Author
About the Reviewers
Packt Upsell
Customer Feedback
Preface
16
Sources

Getting R up-and-running


We want to accomplish two things here: first, install the latest version of R and second, install RStudio, which is an Integrated Development Environment (IDE) for R.

Let's start by going to R's homepage at https://www.r-project.org/. This page will look similar to the following screenshot:

You can see that there is a link, download R, and in the News section the latest R version is 3.3.2 (Sincere Pumpkin Patch), which was released on 2016-10-31Version 3.3.3 is scheduled for release in March. Now, click one of the links, either CRAN under Download or download R under Getting Started, and you will come to the following screen, which has CRAN Mirrors:

These are the links, by country and sorted alphabetically, that will take you to the download page. Being in the USA, I will scroll down and find many links available:

Once you find a similar link that is close to your location, click on it and you will see this as part of the page that will be loaded:

Now, click on your...