Over the past few years, machine learning has gained in popularity. However, it has never been easy to implement in mobile applications—that is, until Apple released the CoreML framework as part of iOS 11. CoreML is Apple's solution to all of the problems they have run into themselves while implementing machine learning for iOS. As a result, CoreML should have the fastest, most efficient implementations for working with complex machine learning models, through an interface that is as simple and flexible as possible.
In this chapter, you will learn what machine learning is, how it works, and how you can use trained machine learning models in your apps. You will also learn how you can use Apple's Vision framework to analyze images, and you'll see how it integrates with CoreML for powerful image detection. Lastly, you'll...