Parameters that affect the process of training a model.
SDKs
- macOS 10.14+
- Xcode 10.0+
Framework
- Create ML
Declaration
struct MLLinear Regressor.ModelParameters
Parameters that affect the process of training a model.
SDKs
Framework
struct MLLinear Regressor.ModelParameters
var description: String
A text representation of the model parameters for a linear regressor.
var debug Description: String
A text representation of the model parameters for a linear regressor that’s suitable for output during debugging.
var playground Description: Any
A description of the model parameters for a linear regressor shown in a playground.
init(training Data: MLData Table, target Column: String, feature Columns: [String]?, parameters: MLLinear Regressor .Model Parameters)
Creates a Linear Regressor from the feature columns in the training data to predict the values in the target column.
let model Parameters: MLLinear Regressor .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 feature the regressor predicts.
var feature Columns: [String]
The names of the columns you selected at initialization to train the regressor.