Mastering Machine Learning with R - Second Edition
by Cory Lesmeister, Doug Ortiz, Vikram Dhillon, Miroslav Kopecky
Summary
In the context of machine learning, we train a model and test it to predict or forecast an outcome. In this chapter, we had an in-depth look at the simple yet extremely effective method of linear regression to predict a quantitative response. Later chapters will cover more advanced techniques, but many of them are mere extensions of what we have learned in this chapter. We 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, but also you can include quantitative variables and interaction terms among the features. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access