FastTreeBinaryTrainer.Fit(IDataView, IDataView) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
FastTreeBinaryTrainer使用定型和驗證資料來定型 ,並傳 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>>