Skip to Content
Machine Learning with R - Third Edition
book

Machine Learning with R - Third Edition

by Brett Lantz
April 2019
Intermediate to advanced
458 pages
12h 35m
English
Packt Publishing
Content preview from Machine Learning with R - Third Edition

Summary

In this chapter, we studied two methods for modeling numeric data. The first method, linear regression, involves fitting straight lines to data. The second method uses decision trees for numeric prediction. The latter comes in two forms: regression trees, which use the average value of examples at leaf nodes to make numeric predictions, and model trees, which build a regression model at each leaf node in a hybrid approach that is, in some ways, the best of both worlds.

We began to understand the utility of regression modeling by using it to investigate the causes of the Challenger space shuttle disaster. We then used linear regression modeling to calculate the expected medical costs for various segments of the population. Because the relationship ...

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.
Start your free trial

You might also like

Machine Learning with R - Fourth Edition

Machine Learning with R - Fourth Edition

Brett Lantz

Publisher Resources

ISBN: 9781788295864Supplemental Content