Enumeration Case

MLRegressor.randomForest(_:)

A regressor based on a collection of decision trees trained on subsets of the data.

Declaration

case randomForest(MLRandomForestRegressor)

Discussion

Don’t create an MLRegressor using one of its enumeration cases. Use the regressor’s initializer instead.

See Also

Regressor Cases

case linear(MLLinearRegressor)

A regressor that estimates the target as a linear function of the features.

case decisionTree(MLDecisionTreeRegressor)

A regressor that estimates the target by learning rules to split the data.

case boostedTree(MLBoostedTreeRegressor)

A regressor based on a collection of decision trees combined with gradient boosting.