Share via


LightGbmRankingTrainer.Fit(IDataView, IDataView) Method

Definition

Trains a LightGbmRankingTrainer using both training and validation data, returns a RankingPredictionTransformer<TModel>.

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

Parameters

trainData
IDataView
validationData
IDataView

Returns

Applies to