Parameters that affect the process of training a model.
SDKs
- macOS 10.14+
- Xcode 10.0+
Framework
- Create ML
Declaration
struct MLSupport Vector Classifier.ModelParameters
Parameters that affect the process of training a model.
SDKs
Framework
struct MLSupport Vector Classifier.ModelParameters
init(validation Data: MLData Table?, max Iterations: Int, penalty: Double, convergence Threshold: Double, feature Rescaling: Bool)
Creates a new set of parameters.
var description: String
A text representation of the model parameters for a support vector classifier.
var debug Description: String
A text representation of the model parameters for a support vector classifier that’s suitable for output during debugging.
var playground Description: Any
A description of the model parameters for a support vector classifier shown in a playground.
init(training Data: MLData Table, target Column: String, feature Columns: [String]?, parameters: MLSupport Vector Classifier .Model Parameters)
Creates a Support Vector Classifier from the feature columns in the training data to predict the categories in the target column.
let model Parameters: MLSupport Vector Classifier .Model Parameters
The underlying parameters used when training the model.
var target Column: String
The name of the column you selected at initialization to define which categories the classifier predicts.
var feature Columns: [String]
The names of the columns you selected at initialization to train the classifier.