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.

C#
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 Parameters

TModel

The model used to transform the data.

Inheritance
SingleFeaturePredictionTransformerBase<TModel>
Derived
Implements

Properties

FeatureColumnName

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

FeatureColumnType

The type of the prediction transformer

Model

The model.

(Inherited from PredictionTransformerBase<TModel>)

Methods

Dispose() (Inherited from PredictionTransformerBase<TModel>)
GetOutputSchema(DataViewSchema)

Schema propagation for this prediction transformer.

Transform(IDataView)

Transforms the input data.

(Inherited from PredictionTransformerBase<TModel>)

Explicit Interface Implementations

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

Product Versions
ML.NET 1.0.0, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, Preview, 4.0.0