KeyCount Class

Definition

Defines the cardinality, or count, of valid values of a KeyDataViewType column. This needs to be strictly positive. It is used by TextLoader and TypeConvertingEstimator.

C#
public sealed class KeyCount
Inheritance
KeyCount

Constructors

KeyCount()

Initializes the cardinality, or count, of valid values of a KeyDataViewType column to the largest integer that can be expresed by the underlying datatype of the KeyDataViewType.

KeyCount(UInt64)

Initializes the cardinality, or count, of valid values of a KeyDataViewType column to count

Fields

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