Share via


FastTreeRankingTrainer.Fit(IDataView, IDataView) Method

Definition

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

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

Parameters

trainData
IDataView
validationData
IDataView

Returns

Applies to