Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Machine Learning with Core ML
  • Table Of Contents Toc
Machine Learning with Core ML

Machine Learning with Core ML

5 (1)
close
close
Machine Learning with Core ML

Machine Learning with Core ML

5 (1)

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 (12 chapters)
close
close

Input data and preprocessing 


In this section, we will implement the preprocessing functionality required to transform our raw user input into something the model is expecting. We will build up this functionality in a playground project before migrating it across to our project in the next section.  

If you haven't done so, pull down the latest code from the accompanying repository https://github.com/PacktPublishing/Machine-Learning-with-Core-ML. Once downloaded, navigate to the directory Chapter8/Start/ and open the playground project ExploringQuickDrawData.playground. Once loaded, you will see the playground for this chapter, as shown:

The playground includes a few samples of the raw Quick, Draw! dataset, a single simplified extract, as well as the complied model and supporting classes we created in the previous chapter to represent a sketch (Stroke.swift, Sketch.swift) and render it (SketchView.swift). Our goal for this section will be to better understand the data and the preprocessing...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Machine Learning with Core ML
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon