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

Making it easier to find photos


In this section, we will put our model to work in an intelligent search application; we'll start off by quickly introducing the application, giving us a clear vision of what we intend to build. Then, we'll work through implementing the functionality related to interpreting the model's output and search heuristic for the desired functionality. We will be omitting a lot of the usual iOS functionality so that we can stay focused on the intelligent aspect of the application.

Over the past few years, we have seen a surge of intelligence being embedded in photo gallery applications, providing us with efficient ways of surfacing those cat photos hidden deep in hundreds (if not thousands) of photos we have accumulated over the years. In this section, we want to continue with this theme but push that level of intelligence a little bit further by taking advantage of the semantic information gained through object detection. Our users will be able to search for not only...