Book Image

R Machine Learning Essentials

By : Michele Usuelli
Book Image

R Machine Learning Essentials

By: Michele Usuelli

Overview of this book

Table of Contents (15 chapters)
R Machine Learning Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The R tutorial


I assume that you are already familiar with a programming language, although not necessarily R. This section contains a brief R tutorial that shows some tools that are useful for building machine learning solutions. Since a proper introduction to R would require an entire book, this tutorial focuses on just some relevant topics.

If you're already familiar with R, you can quickly read through this section. If you're new to R, I advise you to combine this section with an interactive online tutorial to get a more complete overview. In addition, it'll be very useful to play with the tools in order to acquire more familiarity.

Before starting with the tutorial, we need to install R and RStudio. Both types of software are open source, and they support the most relevant operating systems. It's also useful to read the RStudio tutorial to understand how to use this powerful IDE.

My advice is to generate a new R script in the RStudio environment and to copy and paste the code into the...