LightGbmRankingTrainer.Fit(IDataView, IDataView) 方法

定义

使用训练和验证数据训练一个 LightGbmRankingTrainer 返回 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)

参数

trainData
IDataView
validationData
IDataView

返回

适用于