LbfgsLogisticRegressionBinaryTrainer.Fit 方法

定义

继续使用已训练modelParametersLbfgsLogisticRegressionBinaryTrainer训练并返回 aBinaryPredictionTransformer<TModel>

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

参数

trainData
IDataView
modelParameters
LinearModelParameters

返回

适用于