Share via


SgdBinaryTrainerBase<TModel>.Fit 方法

定义

继续使用已训练modelParametersSdcaLogisticRegressionBinaryTrainer训练并返回 aMicrosoft.ML.Data.BinaryPredictionTransformer

public Microsoft.ML.Data.BinaryPredictionTransformer<TModel> Fit (Microsoft.ML.IDataView trainData, Microsoft.ML.Trainers.LinearModelParameters modelParameters);
override this.Fit : Microsoft.ML.IDataView * Microsoft.ML.Trainers.LinearModelParameters -> Microsoft.ML.Data.BinaryPredictionTransformer<'Model (requires 'Model : null)>
Public Function Fit (trainData As IDataView, modelParameters As LinearModelParameters) As BinaryPredictionTransformer(Of TModel)

参数

trainData
IDataView
modelParameters
LinearModelParameters

返回

适用于