Class

MLUpdateTask

A task that updates a model with additional training data.

Declaration

@interface MLUpdateTask : MLTask

Overview

Use an MLUpdateTask to update a machine learning model on a user’s device.

Topics

Creating an Update Task

+ updateTaskForModelAtURL:trainingData:configuration:completionHandler:error:

Creates an update task for your model, given its file URL, training data, and your completion handler.

+ updateTaskForModelAtURL:trainingData:configuration:progressHandlers:error:

Creates an update task for your model, given its file URL, training data, and your progress handlers.

MLBatchProvider

An interface that represents a collection of feature providers.

MLModelConfiguration

The settings for creating or updating a machine learning model.

MLUpdateContext

The context an update task provides to your app’s completion and update progress handlers.

MLUpdateProgressHandlers

A collection of closures an update task uses to notify your app of its progress.

Starting and Resuming an Update

- resumeWithParameters:

Resumes a model update with updated parameter values.

MLParameterKey

A key for model and update parameter dictionaries.

Supporting Types

MLTask

An abstract base class for machine learning tasks.

Relationships

Inherits From

See Also

Model Updates

Personalizing a Model with On-Device Updates

Modify an updatable Core ML model by running an update task with labeled data.