Structure

MLDecisionTreeRegressor.ModelParameters

Parameters that affect the process of training a model.

Declaration

struct MLDecisionTreeRegressor.ModelParameters

Topics

Describing Parameters

var description: String

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

var debugDescription: String

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

var playgroundDescription: Any

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

See Also

Creating and Training a Model

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

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