Structure

MLSupportVectorClassifier.ModelParameters

Parameters that affect the process of training a model.

Declaration

struct MLSupportVectorClassifier.ModelParameters

Topics

Describing Parameters

var description: String

A text representation of the model parameters for a support vector classifier.

var debugDescription: String

A text representation of the model parameters for a support vector classifier that’s suitable for output during debugging.

var playgroundDescription: Any

A description of the model parameters for a support vector classifier shown in a playground.

See Also

Creating and Training a Model

init(trainingData: MLDataTable, targetColumn: String, featureColumns: [String]?, parameters: MLSupportVectorClassifier.ModelParameters)

Creates a Support Vector Classifier from the feature columns in the training data to predict the categories in the target column.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software