Chapter 9. Beyond Features
This chapter looks at the next steps for implementing practical AI features in your Swift apps using tools that go beyond the ones that Apple supplies, or that work directly with Apple’s tools. We go beyond the feature-focused tasks, and look at tasks that can improve your workflow or help you out in other ways.
We also look at useful extensions to the Apple ML and AI ecosystem, and give you some pointers for what to explore next. Taking a top-down approach, we explore tasks that go beyond implementing AI features in your apps using CoreML and Apple’s frameworks.
Specifically, here are the six tasks explored in this chapter:
-
Installing Swift for TensorFlow:: Setting up and running with the latest version of Swift for TensorFlow.
-
Using Python with Swift:: A look at using the popular, essential, ubiquitous Python with Swift (via Swift for TensorFlow).
-
Training a classifier using Swift for TensorFlow:: Building an image classifier using Swift for TensorFlow.
-
Using the CoreML Community Tools:: Using Apple’s Python framework, CoreML Community Tools, to manipulate and convert models from other formats.
-
On-device model updates:: Using on-device personalization to make changes to CoreML models on a device.
-
Downloading models on device:: Downloading a CoreML model from a server and compiling it on a device.
Task: Installing Swift for TensorFlow
TIP: For a reminder on what Swift for TensorFlow is, check back to Chapter 2, specifically “Tools from ...
Get Practical Artificial Intelligence with Swift now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.