Dela via


CalibratorTransformer<TICalibrator> Class

Definition

An instance of this class is the result of calling Fit(IDataView). If you pass a scored data, to the CalibratorTransformer<TICalibrator> Transform method, it will add the Probability column to the dataset. The Probability column is the value of the Score normalized to be a valid probability. The CalibratorTransformer<TICalibrator> is an instance of ISingleFeaturePredictionTransformer<TModel> where score can be viewed as a feature while probability is treated as the label.

public abstract class CalibratorTransformer<TICalibrator> : Microsoft.ML.Data.RowToRowTransformerBase, Microsoft.ML.IPredictionTransformer<TICalibrator>, Microsoft.ML.ISingleFeaturePredictionTransformer<TICalibrator>, Microsoft.ML.ITransformer where TICalibrator : class, ICalibrator
type CalibratorTransformer<'ICalibrator (requires 'ICalibrator : null and 'ICalibrator :> ICalibrator)> = class
    inherit RowToRowTransformerBase
    interface ISingleFeaturePredictionTransformer<'ICalibrator (requires 'ICalibrator : null and 'ICalibrator :> ICalibrator)>
    interface IPredictionTransformer<'ICalibrator (requires 'ICalibrator : null and 'ICalibrator :> ICalibrator)>
    interface ITransformer
    interface ICanSaveModel
Public MustInherit Class CalibratorTransformer(Of TICalibrator)
Inherits RowToRowTransformerBase
Implements IPredictionTransformer(Of TICalibrator), ISingleFeaturePredictionTransformer(Of TICalibrator), ITransformer

Type Parameters

TICalibrator

The ICalibrator used to transform the data.

Inheritance
CalibratorTransformer<TICalibrator>
Derived
Implements

Methods

GetOutputSchema(DataViewSchema) (Inherited from RowToRowTransformerBase)
Transform(IDataView) (Inherited from RowToRowTransformerBase)

Explicit Interface Implementations

ICanSaveModel.Save(ModelSaveContext) (Inherited from RowToRowTransformerBase)
IPredictionTransformer<TICalibrator>.Model
ISingleFeaturePredictionTransformer<TICalibrator>.FeatureColumnName
ISingleFeaturePredictionTransformer<TICalibrator>.FeatureColumnType
ITransformer.GetRowToRowMapper(DataViewSchema) (Inherited from RowToRowTransformerBase)
ITransformer.IsRowToRowMapper

Extension Methods

Preview(ITransformer, IDataView, Int32)

Preview an effect of the transformer on a given data.

Append<TTrans>(ITransformer, TTrans)

Create a new transformer chain, by appending another transformer to the end of this transformer chain.

CreateTimeSeriesEngine<TSrc,TDst>(ITransformer, IHostEnvironment, PredictionEngineOptions)

TimeSeriesPredictionEngine<TSrc,TDst> creates a prediction engine for a time series pipeline. It updates the state of time series model with observations seen at prediction phase and allows checkpointing the model.

CreateTimeSeriesEngine<TSrc,TDst>(ITransformer, IHostEnvironment, Boolean, SchemaDefinition, SchemaDefinition)

TimeSeriesPredictionEngine<TSrc,TDst> creates a prediction engine for a time series pipeline. It updates the state of time series model with observations seen at prediction phase and allows checkpointing the model.

Applies to