TransformerChain<TLastTransformer> 构造函数

定义

重载

TransformerChain<TLastTransformer>(ITransformer[])

通过指定所有转换器来创建转换器链。 假定范围为 Everything

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

通过指定转换器及其范围来创建转换器链。

TransformerChain<TLastTransformer>(ITransformer[])

通过指定所有转换器来创建转换器链。 假定范围为 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())

参数

transformers
ITransformer[]

适用于

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

通过指定转换器及其范围来创建转换器链。

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))

参数

transformers
IEnumerable<ITransformer>

要链接的转换器。

scopes
IEnumerable<TransformerScope>

转换器范围,与 transformers.

适用于