Share via


PlattCalibrator Class

Definition

The Platt calibrator calculates the probability following: 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
Inheritance
PlattCalibrator
Implements

Properties

Offset

Offset value for this calibrator

Slope

Slope value for this calibrator.

Methods

PredictProbability(Single)

Given a classifier output, produce the probability.

Explicit Interface Implementations

ICanSaveModel.Save(ModelSaveContext)

Applies to