TransformerChain<TLastTransformer> TransformerChain<TLastTransformer> TransformerChain<TLastTransformer> Class

Definition

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

public sealed class TransformerChain<TLastTransformer> : Microsoft.ML.ITransformer, System.Collections.Generic.IEnumerable<Microsoft.ML.ITransformer> where TLastTransformer : class, ITransformer
type TransformerChain<'LastTransformer (requires 'LastTransformer : null and 'LastTransformer :> ITransformer)> = class
    interface ITransformer
    interface ICanSaveModel
    interface seq<ITransformer>
    interface IEnumerable
Public NotInheritable Class TransformerChain(Of TLastTransformer)
Implements IEnumerable(Of ITransformer), ITransformer

Type Parameters

TLastTransformer
Inheritance
TransformerChain<TLastTransformer>TransformerChain<TLastTransformer>TransformerChain<TLastTransformer>
Implements

Constructors

TransformerChain<TLastTransformer>(ITransformer[]) TransformerChain<TLastTransformer>(ITransformer[]) TransformerChain<TLastTransformer>(ITransformer[])

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

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

Create a transformer chain by specifying transformers and their scopes.

Fields

LastTransformer LastTransformer LastTransformer

Methods

Append<TNewLast>(TNewLast, TransformerScope) Append<TNewLast>(TNewLast, TransformerScope) Append<TNewLast>(TNewLast, TransformerScope)
GetEnumerator() GetEnumerator() GetEnumerator()
GetModelFor(TransformerScope) GetModelFor(TransformerScope) GetModelFor(TransformerScope)
GetOutputSchema(DataViewSchema) GetOutputSchema(DataViewSchema) GetOutputSchema(DataViewSchema)
Transform(IDataView) Transform(IDataView) Transform(IDataView)

Explicit Interface Implementations

ICanSaveModel.Save(ModelSaveContext) ICanSaveModel.Save(ModelSaveContext) ICanSaveModel.Save(ModelSaveContext)
ITransformer.GetRowToRowMapper(DataViewSchema) ITransformer.GetRowToRowMapper(DataViewSchema) ITransformer.GetRowToRowMapper(DataViewSchema)
ITransformer.IsRowToRowMapper ITransformer.IsRowToRowMapper ITransformer.IsRowToRowMapper
IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

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.

Applies to