Platforms to show: All Mac Windows Linux Cross-Platform

Back to MLUpdateTaskMBS class.

MLUpdateTaskMBS.Constructor(file as FolderItem, trainingData as MLArrayBatchProviderMBS, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreML MBS Mac64bit Plugin 20.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an update task for your model, given its file URL, training data, and your completion handler.

file: The location in the file system of a model file (ModelName.mlmodelc).
trainingData: The update data for the model, contained in a batch provider.
configuration: The model settings for a updated model object.

Calls later completionHandler event.

See also:

MLUpdateTaskMBS.Constructor(file as FolderItem, trainingData as MLArrayBatchProviderMBS, configuration as MLModelConfigurationMBS, progressHandlers as MLUpdateProgressHandlersMBS, byref error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreML MBS Mac64bit Plugin 20.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates an update task for your model, given its file URL, training data, and your progress handlers.

file: The location in the file system of a model file (ModelName.mlmodelc).
trainingData: The update data for the model, contained in a batch provider.
configuration: The model settings for a updated model object.
progressHandlers: The closures the task calls during the update process.

See also:

MLUpdateTaskMBS.resumeWithParameters(updateParameters as Dictionary)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreML MBS Mac64bit Plugin 20.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Resumes a model update with updated parameter values.

updateParameters: Model training parameter values to replace those currently set in the update task.

Use this method to resume the model update task with newer parameter values. You use this method within the closures you provide in an MLUpdateProgressHandlersMBS instance to resume the MLUpdateTaskMBS.

Some examples using this method:

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...