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

Chapter 10. An Introduction to Create ML

The intention of this book has been to explore ways to apply machine learning on the iPhone, specifically focusing on computer vision tasks. Even with this narrow focus, we have only scratched the surface of what is currently possible. But, hopefully, we've covered enough to spark your curiosity and provided enough intuition behind the details of machine learning models to help you on your journey to build intelligent apps. 

This chapter is intended as a primer into continuing that journey by introducing Create ML, a tool released with Core ML 2 that provides an easy way to create some common models using custom data. Even though we only provide a high-level introduction, specifically around computer vision, it still should be enough to help you make use of it in your own applications. 

By the end of this chapter, you will have:

  • Revised the machine learning workflow 
  • Appreciated the importance of splitting your data into sets for training and validation...