Instance Method

predictions(from:)

Classifies the provided data into the target categories.

Declaration

func predictions(from data: MLDataTable) throws -> MLUntypedColumn

Parameters

data

The data you want the model to classify.

Return Value

A column of labels predicted by the classifier.