Instance Property

featureColumns

The names of the columns you selected at initialization to train the classifier.

Declaration

var featureColumns: [String]

Discussion

Changing the value of this property doesn’t retrain the model or affect its behavior.

See Also

Creating and Training a Support Vector Classifier

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.

struct MLSupportVectorClassifier.ModelParameters

Parameters that affect the process of training a model.

let modelParameters: MLSupportVectorClassifier.ModelParameters

The underlying parameters used when training the model.

var targetColumn: String

The name of the column you selected at initialization to define which categories the classifier predicts.