From the course: Machine Learning for iOS Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create an ML model with Turi Create

Create an ML model with Turi Create - iOS Tutorial

From the course: Machine Learning for iOS Developers

Start my 1-month free trial

Create an ML model with Turi Create

- [Instructor] This is the data that we have already prepared for our custom image classifier. And we're particularly interested in the label that is associated with a specific image, because we're interested in an image that is, for example, labeled as cat, or as dog, so, we need to keep in mind that we have called this column label and you're going to see how we're going to use it in a second. So now, to create our custom machine-learning model, we are going to create a new file, naming it createmodel.py, and of course, we are going to import, first of all, Turi Create, and use the shortcut tc, to access all its functionality, and now I'm defining a new data object right here, using tc, and calling s frame, which allows us now to load the data directly from our s frame file, so I'm just specifying the file name here, which is cats-dogs.sframe, and with that, we have loaded all the data into our s frame data object. And now, we can continue with the second step that I've already told…

Contents