PlattCalibrator 类

定义

Platt 校准器计算以下概率:P (x) = 1 / (1 + exp (Slope * x + Offset)

public sealed class PlattCalibrator : Microsoft.ML.Calibrators.ICalibrator, Microsoft.ML.ICanSaveModel
type PlattCalibrator = class
    interface ICalibrator
    interface ICanSaveModel
Public NotInheritable Class PlattCalibrator
Implements ICalibrator, ICanSaveModel
继承
PlattCalibrator
实现

属性

Offset

此校准器的偏移值

Slope

此校准器的斜率值。

方法

PredictProbability(Single)

给定分类器输出,生成概率。

显式接口实现

ICanSaveModel.Save(ModelSaveContext)

Platt 校准器计算以下概率:P (x) = 1 / (1 + exp (Slope * x + Offset)

适用于