Skip to content
Machine Learning with Core ML, published by Packt
Branch: master
Clone or download
Latest commit 9cd46df Feb 15, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Chapter01/Completed/Recommendations.playground Fix to calcSimilarity example in chapter 1 page 13 Jan 17, 2019
Chapter02 Fix to calcSimilarity example in chapter 1 page 13 Jan 17, 2019
Chapter03 Updated path references Aug 21, 2018
Chapter04 Updated path references Aug 21, 2018
Chapter06 coremltools environment files Aug 21, 2018
Chapter08 Updated path references Aug 21, 2018
Chapter09 Added video Jul 31, 2018
Chapter10/Completed/ImageClassifier.playground Initial commit Jun 11, 2018
CoreMLModels Added video Jul 31, 2018
.gitattributes File updates Jun 11, 2018
.gitignore Removed LFS due to depedencies on Jun 11, 2018
LICENSE Update LICENSE Jun 27, 2018 Fixes link to book cover Jan 14, 2019

Machine Learning with Core ML

Machine Learning with Core ML

This is the code repository for Machine Learning with Core ML, published by Packt.

An iOS developer's guide to implementing machine learning in mobile apps

What is this book about?

Core ML is a popular framework by Apple, with APIs designed to support various machine learning tasks. It allows you to train your machine learning models and then integrate them into your iOS apps.

This book covers the following exciting features:

  • Understand components of an ML project using algorithms, problems, and data
  • Master Core ML by obtaining and importing machine learning model, and generate classes
  • Prepare data for machine learning model and interpret results for optimized solutions
  • Create and optimize custom layers for unsupported layers
  • Apply CoreML to image and video data using CNN

If you feel this book is for you, get your copy today!

Instructions and Navigations

All of the code is organized into folders. For example, Chapter05.

The code will look like the following:

coreml_model = coremltools.converters.keras.convert(

Following is what you need for this book: Machine Learning with Core ML is for you if you are an intermediate iOS developer interested in applying machine learning to your mobile apps. This book is also for those who are machine learning developers or deep learning practitioners who want to bring the power of neural networks in their iOS apps. Some exposure to machine learning concepts would be beneficial but not essential, as this book acts as a launchpad into the world of machine learning for developers.

With the following software and hardware list you can run all code files present in the book (Chapter 1-10).

Software and Hardware List

Chapter OS required Software required
1-10 macOS 10.13 or higher Xcode 9.2 or higher

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Joshua Newnham

Joshua Newnham is a technology lead at a global design firm, Method, focusing on the intersection of design and artificial intelligence (AI), specifically in the areas of computational design and human computer interaction. Prior to this, he was a technical director at Masters of Pie, a virtual reality (VR) and augmented reality (AR) studio focused on building collaborative tools for engineers and creatives.

Other books by the author

Suggestions and Feedback

Click here if you have any feedback or suggestions.

You can’t perform that action at this time.