Apple announced Create ML and Core ML 2 at at WWDC. Create ML is a new framework that enables developers to easily build machine learning models through an interface in Xcode 10. Core ML 2 is an incremental improvement to the existing Core ML framework. It brings batching and enhanced quantization features to on-device models.

But aside from the generic demos, Apple didn’t go into many details about what this next iteration would include. So I spent some time in the updated API docs sleuthing for more insight into what Apple is planning for the future.

Create ML

The Create ML API doesn’t contain many surprises. There are the necessary classes and structs to support the features they described: MLImageClassifier, MLTextClassifier, MLWordTagger, MLClassifier, MLRegressor.

It looks like the MLRegressor supports linear regression, decision trees, boosted trees, and random forests. Don’t see any sign of regularized regression.

Also, all of the classifiers contain an mlmodel property, allowing you to access the underlying MLModel.

Another nice touch was letting you set specific modelParameters, which contains the configuration parameters used to train that specific model.