- [Instructor] And now we need to fill our Buffer … that we're going to send along to our model. … So what we're going to do is create a new CIImage, … and we'll call it coreImage … and that's going to be equal to new CIImage … and we'll initialize that with our scaledImage. … And then we'll begin an ImageContext. … And in the ImageContext we'll specify the size … so it will be a new CoreGraphics size … and we'll use that 299, 299 again. … And then we'll say CIContext, … context is equal to CIContext FromContext. … And we're going to use UIGraphics, GetCurrentContext, and null. … Scroll that up a little bit … and then we'll say context Render and we're going … to Render our coreImage and put it into the buffer. … And then we can end our ImageContext. … And now we can get our result. … So, var result equals our classifier which is an instance … of our model. … GetPrediction and we'll pass in our buffer … and out is an NSError called error. … And finally we'll set a returnValue equal … to the result ClassLabel. …
- Defining machine learning
- Training a machine learning model
- Comparing machine learning frameworks
- Using IBM Watson for mobile machine learning
- Using Azure Machine Learning for speech and image recognition
- Training Core ML models
- Comparing client-side and server-side models
Skill Level Beginner
Xamarin and Android Studio: Material Designwith Kevin Ford1h 47m Intermediate
Machine Learning for iOS Developerswith Brian Advent1h 25m Advanced
1. Introduction to Machine Learning
2. Server Models: IBM Watson
3. Server Models: Azure Machine Learning
4. Client Models: Core ML
5. Understanding the Offerings
Next steps1m 40s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.