Book Image

R for Data Science

By : Dan Toomey
Book Image

R for Data Science

By: Dan Toomey

Overview of this book

Table of Contents (19 chapters)

Chapter 10. Machine Learning in Action

R programming has several methods for machine learning. With machine learning, you can learn to automatically make better predictions. You are leaving the heavy lifting to the software to figure out. The methods you use are somewhat dependent on the characteristics of the data you are attempting to model.

This chapter will cover machine learning in the following ways:

  • Organizing your dataset into training and testing sets

  • Generating a model of your data

  • Testing the efficacy of your model (with the part of your data allocated for testing)