ValueToKeyMappingEstimator.KeyOrdinality Enum

Definition

Controls how the order of the output keys.

C#
public enum ValueToKeyMappingEstimator.KeyOrdinality
Inheritance
ValueToKeyMappingEstimator.KeyOrdinality

Fields

Name Value Description
ByOccurrence 0

Values will be assigned keys in the order in which they appear.

ByValue 1

Values will be assigned keys according to their sort via an ordinal comparison for the type.

Applies to

Product Versions
ML.NET 1.0.0, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview