Contents

init(forModelAt:trainingData:progressHandlers:)

Creates a task that updates the model at the URL with the training data, and calls the progress handlers during and after the update.

Declaration

convenience init(forModelAt modelURL: URL, trainingData: any MLBatchProvider, progressHandlers: MLUpdateProgressHandlers) throws

Parameters

  • modelURL:

    The location in the file system of a model file (ModelName.mlmodelc).

  • trainingData:

    The update data for the model, contained in a batch provider.

  • progressHandlers:

    The closures the task calls during the update process.

See Also

Creating an update task