Dela via


TransformsCatalog.ConversionTransforms Class

Definition

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

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

Extension Methods

MapKeyToBinaryVector(TransformsCatalog+ConversionTransforms, String, String)

Create a KeyToBinaryVectorMappingEstimator, which converts key types to their corresponding binary representation of the original value.

ConvertType(TransformsCatalog+ConversionTransforms, InputOutputColumnPair[], DataKind)

Create a TypeConvertingEstimator, which converts the type of the data to the type specified in outputKind.

ConvertType(TransformsCatalog+ConversionTransforms, String, String, DataKind)

Create a TypeConvertingEstimator, which converts the type of the data to the type specified in outputKind.

Hash(TransformsCatalog+ConversionTransforms, HashingEstimator+ColumnOptions[])

Create a HashingEstimator, which hashes the input column's data type InputColumnName to a new column: Name.

Hash(TransformsCatalog+ConversionTransforms, String, String, Int32, Int32)

Create a HashingEstimator, which hashes the data from the column specified in inputColumnName to a new column: outputColumnName.

MapKeyToValue(TransformsCatalog+ConversionTransforms, InputOutputColumnPair[])

Create a KeyToValueMappingEstimator, which converts the key types back to their original values.

MapKeyToValue(TransformsCatalog+ConversionTransforms, String, String)

Create a KeyToValueMappingEstimator, which converts the key types back to their original values.

MapKeyToVector(TransformsCatalog+ConversionTransforms, InputOutputColumnPair[], Boolean)

Create a KeyToVectorMappingEstimator, which maps the value of a key into a floating point vector representing the value.

MapKeyToVector(TransformsCatalog+ConversionTransforms, String, String, Boolean)

Create a KeyToVectorMappingEstimator, which maps the value of a key into a floating point vector representing the value.

MapValue(TransformsCatalog+ConversionTransforms, String, IDataView, DataViewSchema+Column, DataViewSchema+Column, String)

Create a ValueMappingEstimator, which converts value types into keys, loading the keys to use from the lookupMap where the keyColumn specifies the keys, and the valueColumn the respective value.

MapValue<TInputType,TOutputType>(TransformsCatalog+ConversionTransforms, String, IEnumerable<KeyValuePair<TInputType,TOutputType[]>>, String)

Create a ValueMappingEstimator, which converts value types into keys, loading the keys to use from keyValuePairs.

MapValue<TInputType,TOutputType>(TransformsCatalog+ConversionTransforms, String, IEnumerable<KeyValuePair<TInputType,TOutputType>>, String, Boolean)

Create a ValueMappingEstimator, which converts value types into keys, loading the keys to use from keyValuePairs.

MapValueToKey(TransformsCatalog+ConversionTransforms, InputOutputColumnPair[], Int32, ValueToKeyMappingEstimator+KeyOrdinality, Boolean, IDataView)

Create a ValueToKeyMappingEstimator, which converts categorical values into keys.

MapValueToKey(TransformsCatalog+ConversionTransforms, String, String, Int32, ValueToKeyMappingEstimator+KeyOrdinality, Boolean, IDataView)

Create a ValueToKeyMappingEstimator, which converts categorical values into numerical keys.

Applies to