TransformerChain<TLastTransformer> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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>) |
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.
public TransformerChain (params Microsoft.ML.ITransformer[] transformers);
new Microsoft.ML.Data.TransformerChain<'LastTransformer (requires 'LastTransformer : null and 'LastTransformer :> Microsoft.ML.ITransformer)> : Microsoft.ML.ITransformer[] -> Microsoft.ML.Data.TransformerChain<'LastTransformer (requires 'LastTransformer : null and 'LastTransformer :> Microsoft.ML.ITransformer)>
Public Sub New (ParamArray transformers As ITransformer())
Parameters
- transformers
- ITransformer[]
Applies to
TransformerChain<TLastTransformer>(IEnumerable<ITransformer>, IEnumerable<TransformerScope>)
Create a transformer chain by specifying transformers and their scopes.
public TransformerChain (System.Collections.Generic.IEnumerable<Microsoft.ML.ITransformer> transformers, System.Collections.Generic.IEnumerable<Microsoft.ML.Data.TransformerScope> scopes);
new Microsoft.ML.Data.TransformerChain<'LastTransformer (requires 'LastTransformer : null and 'LastTransformer :> Microsoft.ML.ITransformer)> : seq<Microsoft.ML.ITransformer> * seq<Microsoft.ML.Data.TransformerScope> -> Microsoft.ML.Data.TransformerChain<'LastTransformer (requires 'LastTransformer : null and 'LastTransformer :> Microsoft.ML.ITransformer)>
Public Sub New (transformers As IEnumerable(Of ITransformer), scopes As IEnumerable(Of TransformerScope))
Parameters
- transformers
- IEnumerable<ITransformer>
Transformers to be chained.
- scopes
- IEnumerable<TransformerScope>
Transformer scopes, parallel to transformers
.