Platforms to show: All Mac Windows Linux Cross-Platform
MLUpdateTaskMBS class
Super class: MLTaskMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Use an MLUpdateTaskMBS to update a machine learning model on a user’s device.
Available on MacOS 10.15 or newer.
Subclass of the MLTaskMBS class.
- event completionHandler(context as MLUpdateContextMBS)
- 3 methods
- method Constructor(file as FolderItem, trainingData as MLArrayBatchProviderMBS, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS)
- method Constructor(file as FolderItem, trainingData as MLArrayBatchProviderMBS, configuration as MLModelConfigurationMBS, progressHandlers as MLUpdateProgressHandlersMBS, byref error as NSErrorMBS)
- method resumeWithParameters(updateParameters as Dictionary)
Super class MLTaskMBS
- 4 properties
- property Error as NSErrorMBS
- property Handle as Integer
- property State as Integer
- property TaskIdentifier as String
- 3 methods
- method cancel
- method Constructor Private
- method resume
- shared method available as Boolean
- 5 constants
Task States
Constant | Value | Description |
---|---|---|
StateCancelling | 3 |
The state of a machine learning task that’s in mid-termination, before it could finish successfully. |
StateCompleted | 4 |
The state of a machine learning task that has finished successfully. |
StateFailed | 5 |
The state of a machine learning task that has terminated due to an error. |
StateRunning | 2 |
The state of a machine learning task that’s executing. |
StateSuspended | 1 |
The state of a machine learning task that’s paused. |
This class has no sub classes.
Some properties using for this class:
- MLUpdateContextMBS.Task as MLUpdateTaskMBS
Some examples using this class:
Blog Entries
- MonkeyBread Software Releases the MBS Xojo Plugins in version 20.0
- Update Machine Learning Model on Device
- MBS Xojo Plugins, version 19.6pr3
Release notes
- Version 20.0
- Added MLTaskMBS, MLBatchProviderMBS, MLParameterKeyMBS, MLUpdateTaskMBS, MLModelConfigurationMBS, MLArrayBatchProviderMBS, MLUpdateContextMBS, MLMetricKeyMBS, MLMultiArrayShapeConstraintMBS, MLUpdateProgressHandlersMBS, MLParameterDescriptionMBS, MLNumericConstraintMBS, MLKeyMBS, MLImageSizeMBS, MLImageSizeConstraintMBS, MLSequenceConstraintMBS, and MLSequenceMBS classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
MLUpdateProgressHandlersMBS - MongoChangeStreamMBS
