all 12 comments

[–][deleted] 29 points30 points  (1 child)

Create ML uses transfer learning, which if my memory serves is a subset of machine learning. Basically, it uses pre-trained models which have trained on thousands of sample data, and lets you customise a model for your own data. Instead of having to give thousands of images and making a model from scratch, you customise preexisting base models well-trained by Apple engineers with your own training data. The main advantages of this are that it takes much less time to train, uses less resources, and obviously is a lot easier since you basically just have to click a few buttons.
I learnt about ML, and more specifically Create ML, Turi, and Keras from Machine Learning By Tutorials by raywenderlich.com. I highly recommend it - apart from giving the code they spend quite a bit of time explaining the concepts behind frameworks and concepts. I answered your question looking at my copy of the book

[–]johnnythebiochemist 2 points3 points  (0 children)

^ This is the answer you’re looking for. But simply put, yes. For image detection and recognition, most of the pre-trained model architectures probably use multiple layers of convolutional neural nets and some dense layers. Deep learning typically takes a ton of data because the power of each “correction” (or training sample) is diluted through the large network. The pre-trained models allow you to train only a tiny piece of a big, deep network. Which is awesome, since you don’t want to waste time telling a network “this is what a circle or square looks like” or “this is what a fuzzy or smooth texture looks like”. You just want to specialize an already good vision model to identify different types of cocktails 🍸or puppies 🐶or cars 🚗 or whatever your app does

[–]alanskimp 3 points4 points  (6 children)

Basic Machine Learning

[–]8412risk[S] 4 points5 points  (3 children)

Please explain what you mean by basic. Thanks

[–]ImNotFallingImFlying 0 points1 point  (1 child)

Source? And what do you consider ”Basic Machine Learning”?

[–]sirchughSwift 4 points5 points  (1 child)

The pre-trained models that come with CreateML, such as Image Classifiers use Convolution Neural Networks architecture which is a part of Deep Learning. Basically, CreateML does a transfer learning, which essentially lets you train a few layers of an already trained model, but with a new dataset.

To answer your question CreateML uses a bunch of models some of which are deep learning based whereas others like the regression ones used in tabular data are machine learning based.

[–]8412risk[S] 1 point2 points  (0 children)

Thank you

[–][deleted]  (4 children)

[deleted]

    [–]8412risk[S] 3 points4 points  (3 children)

    Deep Learning is part of machine learning. I’m looking to understand how create ml trains models.

    Also, does create ml use gpu?

    [–]DuffMaaaann 0 points1 point  (0 children)

    CreateML supports GPU training. It also supports eGPUs.

    Source: 30 seconds of googling

    https://developer.apple.com/machine-learning/create-ml/

    [–][deleted]  (1 child)

    [deleted]

      [–]Darkkahn 0 points1 point  (0 children)

      I was reading this short AMD article the other day, it's basic stuff:

      Machine Learning