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

Creating an Amazon Web Services account


The first thing to do is to sign up for an AWS account:

https://aws.amazon.com/

This is the only prerequisite for this exercise. The process requires a credit card, but what we will be doing here will not cost a cent as it is done on a free instance. Going forward, you can quickly launch a new instance with greater computing power as needed, then stop or terminate the instance when finished. As you create your account and login, you can choose to create security groups or not. I will demonstrate it by creating a new security group during instance creation. A security group allows you to control who can and how they can access the instance. Also, don't worry about creating a Pair Key at this point unless you so desire. We will create that as well.

Once that is completed, log in to your AWS console, which should give you a webpage looking like this:

If you are here, it is now time to create and launch a virtual machine with a simple click on the cleverly...