Book Image

Mastering Machine Learning with R

By : Cory Lesmeister
Book Image

Mastering Machine Learning with R

By: Cory Lesmeister

Overview of this book

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

Summary


In the context of machine learning, we train a model and test it to predict or forecast an outcome. In this chapter, we have had an in-depth look at the simple yet extremely effective method of linear regression to predict a quantitative response. The later chapters will cover more advanced techniques, but many of them are mere extensions of what we have learned in this chapter. We've discussed the problem of not visually inspecting the dataset and simply relying on the statistics to guide you in model selection.

With just a few lines of code, you can make powerful and insightful predictions to support decision-making. Not only is it simple and effective, you can also include quantitative variables and interaction terms among the features. Indeed, it is a method that anyone delving into the world of machine learning must master.