TransformsCatalog.CategoricalTransforms 类

定义

用于 MLContext 创建分类数据转换组件的实例的类。

public sealed class TransformsCatalog.CategoricalTransforms
type TransformsCatalog.CategoricalTransforms = class
Public NotInheritable Class TransformsCatalog.CategoricalTransforms
继承
TransformsCatalog.CategoricalTransforms

扩展方法

OneHotEncoding(TransformsCatalog+CategoricalTransforms, InputOutputColumnPair[], OneHotEncodingEstimator+OutputKind, Int32, ValueToKeyMappingEstimator+KeyOrdinality, IDataView)

创建一个 OneHotEncodingEstimator,它将指定的 columns 一个或多个输入文本列转换为一个热编码矢量的多个列。

OneHotEncoding(TransformsCatalog+CategoricalTransforms, String, String, OneHotEncodingEstimator+OutputKind, Int32, ValueToKeyMappingEstimator+KeyOrdinality, IDataView)

创建一个 OneHotEncodingEstimator,该列将指定的 inputColumnName 输入列转换为名为 outputColumnName一个热编码矢量的列。

OneHotHashEncoding(TransformsCatalog+CategoricalTransforms, InputOutputColumnPair[], OneHotEncodingEstimator+OutputKind, Int32, UInt32, Boolean, Int32)

创建一个 OneHotHashEncodingEstimator,它将指定的 columns 一个或多个输入文本列转换为基于哈希的单热编码矢量的多个列。

OneHotHashEncoding(TransformsCatalog+CategoricalTransforms, String, String, OneHotEncodingEstimator+OutputKind, Int32, UInt32, Boolean, Int32)

Create a OneHotHashEncodingEstimator, which converts a text column specified by inputColumnName into a hash-based one-hot encoded vector column named outputColumnName.

适用于