Share via


HashingEstimator.ColumnOptions Class

Definition

Describes how the transformer handles one column pair.

public sealed class HashingEstimator.ColumnOptions
type HashingEstimator.ColumnOptions = class
Public NotInheritable Class HashingEstimator.ColumnOptions
Inheritance
HashingEstimator.ColumnOptions

Constructors

HashingEstimator.ColumnOptions(String, String, Int32, UInt32, Boolean, Int32, Boolean)

Describes how the transformer handles one column pair.

Properties

Combine

Whether the slots of a vector column should be hashed into a single value.

InputColumnName

Name of column to transform.

MaximumNumberOfInverts

During hashing we constuct mappings between original values and the produced hash values. Text representation of original values are stored in the key names of the annotations for the new column. Hashing, as such, can map many initial values to one. MaximumNumberOfInverts specifies the upper bound of the number of distinct input values mapping to a hash that should be retained. 0 does not retain any input values. -1 retains all input values mapping to each hash.

Name

Name of the column resulting from the transformation of InputColumnName.

NumberOfBits

Number of bits to hash into. Must be between 1 and 31, inclusive.

Seed

Hashing seed.

UseOrderedHashing

Whether the position of each term should be included in the hash, only applies to inputs of vector type.

Applies to