Skip to Main Content
Machine Learning with Core ML
book

Machine Learning with Core ML

by Joshua Newnham
June 2018
Intermediate to advanced content levelIntermediate to advanced
378 pages
8h 43m
English
Packt Publishing
Content preview from Machine Learning with Core ML

Auto insurance in Sweden

If you haven't done so already, navigate to the repository at https://github.com/joshnewnham/MachineLearningWithCoreML and download the latest code. Once downloaded, navigate to the directory Chapter2/Start/ and open the playground LinearRegression.playground.

We will be creating a model that will predict the total payments for all claims (y) given the number of claims (x); the dataset we will be working with is auto insurance claims in Sweden. It consists of 2 columns and 64 rows, the first column containing the number of claims, and the second containing the total payments for all claims. Here is an extract from the dataset:

Number of claims
Total payments for all claims in thousands of Swedish Kronor
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

Hands-On Machine Learning with ML.NET

Hands-On Machine Learning with ML.NET

Jarred Capellman

Publisher Resources

ISBN: 9781788838290Supplemental Content