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

Example – predicting medical expenses using linear regression

In order for a health insurance company to make money, it needs to collect more in yearly premiums than it spends on medical care to its beneficiaries. Consequently, insurers invest a great deal of time and money to develop models that accurately forecast medical expenses for the insured population.

Medical expenses are difficult to estimate because the costliest conditions are rare and seemingly random. Still, some conditions are more prevalent for certain segments of the population. For instance, lung cancer is more likely among smokers than non-smokers, and heart disease may be more likely among the obese.

The goal of this analysis is to use patient data to forecast the average medical ...

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