TransformerChain<TLastTransformer> Class

Definition

A chain of transformers (possibly empty) that end with a TLastTransformer. For an empty chain, TLastTransformer is always ITransformer.

C#
public sealed class TransformerChain<TLastTransformer> : IDisposable, Microsoft.ML.ITransformer, System.Collections.Generic.IEnumerable<Microsoft.ML.ITransformer> where TLastTransformer : class, ITransformer
C#
public sealed class TransformerChain<TLastTransformer> : Microsoft.ML.ITransformer, System.Collections.Generic.IEnumerable<Microsoft.ML.ITransformer> where TLastTransformer : class, ITransformer

Type Parameters

TLastTransformer
Inheritance
TransformerChain<TLastTransformer>
Implements

Constructors

TransformerChain<TLastTransformer>(IEnumerable<ITransformer>, IEnumerable<TransformerScope>)

Create a transformer chain by specifying transformers and their scopes.

TransformerChain<TLastTransformer>(ITransformer[])

Create a transformer chain by specifying all the transformers. The scopes are assumed to be Everything.

Fields

Methods

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