Dela via


FastTreeRegressionTrainer.Fit(IDataView, IDataView) Method

Definition

Trains a FastTreeRegressionTrainer using both training and validation data, returns a RegressionPredictionTransformer<TModel>.

public Microsoft.ML.Data.RegressionPredictionTransformer<Microsoft.ML.Trainers.FastTree.FastTreeRegressionModelParameters> Fit (Microsoft.ML.IDataView trainData, Microsoft.ML.IDataView validationData);
override this.Fit : Microsoft.ML.IDataView * Microsoft.ML.IDataView -> Microsoft.ML.Data.RegressionPredictionTransformer<Microsoft.ML.Trainers.FastTree.FastTreeRegressionModelParameters>
Public Function Fit (trainData As IDataView, validationData As IDataView) As RegressionPredictionTransformer(Of FastTreeRegressionModelParameters)

Parameters

trainData
IDataView
validationData
IDataView

Returns

Applies to