LightGbmRegressionTrainer.Fit(IDataView, IDataView) Method

Definition

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

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

Parameters

trainData
IDataView
validationData
IDataView

Returns

Applies to