From the course: Machine Learning in Mobile Applications
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Core ML: Create Natural Language model - Xamarin Tutorial
From the course: Machine Learning in Mobile Applications
Core ML: Create Natural Language model
- [Instructor] Creating a core ML model is something we can now do in Xcode. We can do this either using a JSON file or a CSV file. If we look at our exercise files directory, and under CoreMLCollateral we see there's a file called natural language trainer, and I'm going to click on that, right click, and go copy, and paste that onto our desktop. I'm going to close this up, and if we look at this file, it's a simple JSON array with two values, text and label, so the text is actually the utterance, and the label is the classification we want to give it or the intent. So now we're gonnna go into Xcode, and we can do this in a playground, so I'm going to get started with a new playground. And we want to make sure that we have MacOS selected as the playground type, and we'll create a blank playground. We'll hit next. For the name of the playground, we're going to call it Natural Language. And press create. And I'm going to delete what's already here, and put in import and import Create ML…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Core ML overview2m 10s
-
(Locked)
Core ML: Create Natural Language model6m 22s
-
(Locked)
Core ML: Create Visual Recognition model3m 22s
-
(Locked)
Client tie to Natural Language model5m 53s
-
(Locked)
Client tie to Visual Recognition model4m 14s
-
(Locked)
Client tie to Visual Recognition: Converting model2m 14s
-
(Locked)
Run the client app1m 45s
-
(Locked)
-
-