Book Image

Machine Learning with Core ML

Book Image

Machine Learning with Core ML

Overview of this book

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. Machine Learning with Core ML is a fun and practical guide that not only demystifies Core ML but also sheds light on machine learning. In this book, you’ll walk through realistic and interesting examples of machine learning in the context of mobile platforms (specifically iOS). You’ll learn to implement Core ML for visual-based applications using the principles of transfer learning and neural networks. Having got to grips with the basics, you’ll discover a series of seven examples, each providing a new use-case that uncovers how machine learning can be applied along with the related concepts. By the end of the book, you will have the skills required to put machine learning to work in their own applications, using the Core ML APIs
Table of Contents (16 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

A typical workflow 


As with any project, you enter the process with some understanding of what you are trying to build. The better you understand this (the problem), the better you are able to solve it. 

After understanding what it is that you're trying to do, your next question (in the context of building a machine learning model) is what data do I need? This includes an exploration into what data is available and what data you may need to generate yourself. 

Once you've understood what you're trying to do and what data you need, your next question/task is to decide on what algorithm (or model) is needed. This is obviously dependent on your task and the data you have; in some instances, you may be required to create your own model, but more often than not, there will be an adequate model available for you to use, or at least an architecture you can use with your own data. The following table shows some typical computer vision tasks and their related machine learning counterparts:

Task

Machine...