KeyTypeAttribute 构造函数

定义

重载

KeyTypeAttribute()

将成员标记为 KeyDataViewType.

KeyTypeAttribute(UInt64)

KeyDataViewType成员标记为KeyDataViewType并指定基数。 对于与 int 类型一起使用的属性, count 应设置为一个以上的最大值,以计算从 1 (0 开始的计数,保留为缺少的 KeyType) 。 例如 0-9 范围的基数为 10。 如果值不在指定的基数之外,它们将映射到缺失的值表示形式:0。

KeyTypeAttribute()

将成员标记为 KeyDataViewType.

public KeyTypeAttribute ();
Public Sub New ()

注解

成员类型的最大法律价值基数 KeyDataViewType

适用于

KeyTypeAttribute(UInt64)

KeyDataViewType成员标记为KeyDataViewType并指定基数。 对于与 int 类型一起使用的属性, count 应设置为一个以上的最大值,以计算从 1 (0 开始的计数,保留为缺少的 KeyType) 。 例如 0-9 范围的基数为 10。 如果值不在指定的基数之外,它们将映射到缺失的值表示形式:0。

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

参数

count
UInt64

KeyDataViewType基数

适用于