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
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!
All of the code is organized into folders. For example, Chapter05.
The code will look like the following:
coreml_model = coremltools.converters.keras.convert(
'tinyyolo_voc2007_modelweights.h5',
input_names='image',
image_input_names='image',
output_names='output',
image_scale=1./255.)
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).
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.
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.
Click here if you have any feedback or suggestions.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.