GamRegressionTrainer.Fit(IDataView, IDataView) Method

Definition

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

public Microsoft.ML.Data.RegressionPredictionTransformer<Microsoft.ML.Trainers.FastTree.GamRegressionModelParameters> 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.GamRegressionModelParameters>
Public Function Fit (trainData As IDataView, validationData As IDataView) As RegressionPredictionTransformer(Of GamRegressionModelParameters)

Parameters

trainData
IDataView
validationData
IDataView

Returns

Applies to