SingleFeaturePredictionTransformerBase<TModel> SingleFeaturePredictionTransformerBase<TModel> SingleFeaturePredictionTransformerBase<TModel> Class

Definition

The base class for all the transformers implementing the ISingleFeaturePredictionTransformer<TModel>. Those are all the transformers that work with one feature column.

public abstract class SingleFeaturePredictionTransformerBase<TModel> : Microsoft.ML.Data.PredictionTransformerBase<TModel>, Microsoft.ML.IPredictionTransformer<TModel>, Microsoft.ML.ISingleFeaturePredictionTransformer<TModel>, Microsoft.ML.ITransformer where TModel : class
type SingleFeaturePredictionTransformerBase<'Model (requires 'Model : null)> = class
    inherit PredictionTransformerBase<'Model (requires 'Model : null)>
    interface ISingleFeaturePredictionTransformer<'Model (requires 'Model : null)>
    interface IPredictionTransformer<'Model (requires 'Model : null)>
    interface ITransformer
    interface ICanSaveModel
Public MustInherit Class SingleFeaturePredictionTransformerBase(Of TModel)
Inherits PredictionTransformerBase(Of TModel)
Implements IPredictionTransformer(Of TModel), ISingleFeaturePredictionTransformer(Of TModel), ITransformer

Type Parameters

TModel

The model used to transform the data.

Inheritance
SingleFeaturePredictionTransformerBase<TModel>SingleFeaturePredictionTransformerBase<TModel>SingleFeaturePredictionTransformerBase<TModel>
Derived
Implements

Properties

FeatureColumnName FeatureColumnName FeatureColumnName

The name of the feature column used by the prediction transformer.

FeatureColumnType FeatureColumnType FeatureColumnType

The type of the prediction transformer

ITransformer.IsRowToRowMapper ITransformer.IsRowToRowMapper ITransformer.IsRowToRowMapper

Whether a call to GetRowToRowMapper(DataViewSchema) should succeed, on an appropriate schema.

(Inherited from PredictionTransformerBase<TModel>)
Model Model Model

The model.

(Inherited from PredictionTransformerBase<TModel>)

Methods

GetOutputSchema(DataViewSchema) GetOutputSchema(DataViewSchema) GetOutputSchema(DataViewSchema)

Schema propagation for this prediction transformer.

Transform(IDataView) Transform(IDataView) Transform(IDataView)

Transforms the input data.

(Inherited from PredictionTransformerBase<TModel>)

Explicit Interface Implementations

ICanSaveModel.Save(ModelSaveContext) ICanSaveModel.Save(ModelSaveContext) ICanSaveModel.Save(ModelSaveContext) Inherited from PredictionTransformerBase<TModel>
ITransformer.GetRowToRowMapper(DataViewSchema) ITransformer.GetRowToRowMapper(DataViewSchema) ITransformer.GetRowToRowMapper(DataViewSchema)

Gets a IRowToRowMapper instance.

(Inherited from PredictionTransformerBase<TModel>)

Extension Methods

Preview(ITransformer, IDataView, Int32) Preview(ITransformer, IDataView, Int32) Preview(ITransformer, IDataView, Int32)

Preview an effect of the transformer on a given data.

Append<TTrans>(ITransformer, TTrans) Append<TTrans>(ITransformer, TTrans) 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, Boolean, SchemaDefinition, SchemaDefinition) CreateTimeSeriesEngine<TSrc,TDst>(ITransformer, IHostEnvironment, Boolean, SchemaDefinition, SchemaDefinition) 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