Structure

MLBoostedTreeRegressor.ModelParameters

Parameters that affect the process of training a model.

Declaration

struct MLBoostedTreeRegressor.ModelParameters

Topics

Describing Parameters

var description: String

A text representation of the model parameters for a boosted tree regressor.

var debugDescription: String

A text representation of the model parameters for a boosted tree regressor that’s suitable for output during debugging.

var playgroundDescription: Any

A description of the model parameters for a boosted tree regressor shown in a playground.

See Also

Creating and Training a Boosted Tree Regressor

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

Creates a Boosted Tree Regressor from the feature columns in the training data to predict the values in the target column.

let modelParameters: MLBoostedTreeRegressor.ModelParameters

The underlying parameters used when training the model.

var targetColumn: String

The name of the column you selected at initialization to define which feature the regressor predicts.

var featureColumns: [String]

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