FastTreeBinaryTrainer.Fit(IDataView, IDataView) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用训练和验证数据训练一个 FastTreeBinaryTrainer 返回 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))
参数
- trainData
- IDataView
- validationData
- IDataView
返回
BinaryPredictionTransformer<CalibratedModelParametersBase<FastTreeBinaryModelParameters,PlattCalibrator>>