Dela via


TransformsCatalog.CategoricalTransforms Class

Definition

Class used by MLContext to create instances of categorical data transform components.

public sealed class TransformsCatalog.CategoricalTransforms
type TransformsCatalog.CategoricalTransforms = class
Public NotInheritable Class TransformsCatalog.CategoricalTransforms
Inheritance
TransformsCatalog.CategoricalTransforms

Extension Methods

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

Create a OneHotEncodingEstimator, which converts one or more input text columns specified in columns into as many columns of one-hot encoded vectors.

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

Create a OneHotEncodingEstimator, which converts the input column specified by inputColumnName into a column of one-hot encoded vectors named outputColumnName.

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

Create a OneHotHashEncodingEstimator, which converts one or more input text columns specified by columns into as many columns of hash-based one-hot encoded vectors.

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.

Applies to