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

Summary 


In this chapter, we revisited a previous problem (sketch recognition) but used a different dataset and different approach. Previously, we tackled the problem using CNN, but in this chapter, we identified nuances of how the data was collected, which in turn allowed us to take a different approach using an RNN. As usual, most of the effort was spent in preparing the data for the model. This, in doing so, highlighted some techniques we can use to make our data invariant to scale and translation, as well as the usefulness of reducing details of the inputs (through simplification) to assist our model in more easily finding patterns.

Finally, we highlighted an important aspect of designing interfaces for machine learning systems, that is, adding a layer of transparency and control for the user to help them build a useful mental model of the system and improve the model through explicit user feedback, such as corrections. 

Let's continue our journey into the world of machine learning applications...