KeyTypeAttribute Constructors

Definition

Overloads

KeyTypeAttribute()

Marks member as KeyDataViewType.

KeyTypeAttribute(UInt64)

Marks member as KeyDataViewType and specifies KeyDataViewType cardinality. In case of the attribute being used with int types, the count should be set to one more than the maximum value to account for counting starting at 1 (0 is reserved for the missing KeyType). E.g the cardinality of the 0-9 range is 10. If the values are outside of the specified cardinality they will be mapped to the missing value representation: 0.

KeyTypeAttribute()

Marks member as KeyDataViewType.

public KeyTypeAttribute ();
Public Sub New ()

Remarks

Cardinality of KeyDataViewType would be maximum legal value of member type.

Applies to

KeyTypeAttribute(UInt64)

Marks member as KeyDataViewType and specifies KeyDataViewType cardinality. In case of the attribute being used with int types, the count should be set to one more than the maximum value to account for counting starting at 1 (0 is reserved for the missing KeyType). E.g the cardinality of the 0-9 range is 10. If the values are outside of the specified cardinality they will be mapped to the missing value representation: 0.

public KeyTypeAttribute (ulong count);
new Microsoft.ML.Data.KeyTypeAttribute : uint64 -> Microsoft.ML.Data.KeyTypeAttribute
Public Sub New (count As ULong)

Parameters

count
UInt64

Cardinality of KeyDataViewType.

Applies to