Dela via


FastTreeBinaryTrainer.Fit(IDataView, IDataView) Method

Definition

Trains a FastTreeBinaryTrainer using both training and validation data, returns a BinaryPredictionTransformer<TModel>.

public Microsoft.ML.Data.BinaryPredictionTransformer<Microsoft.ML.Calibrators.CalibratedModelParametersBase<Microsoft.ML.Trainers.FastTree.FastTreeBinaryModelParameters,Microsoft.ML.Calibrators.PlattCalibrator>> Fit (Microsoft.ML.IDataView trainData, Microsoft.ML.IDataView validationData);
override this.Fit : Microsoft.ML.IDataView * Microsoft.ML.IDataView -> Microsoft.ML.Data.BinaryPredictionTransformer<Microsoft.ML.Calibrators.CalibratedModelParametersBase<Microsoft.ML.Trainers.FastTree.FastTreeBinaryModelParameters, Microsoft.ML.Calibrators.PlattCalibrator>>
Public Function Fit (trainData As IDataView, validationData As IDataView) As BinaryPredictionTransformer(Of CalibratedModelParametersBase(Of FastTreeBinaryModelParameters, PlattCalibrator))

Parameters

trainData
IDataView
validationData
IDataView

Returns

Applies to