KeyTypeAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
KeyTypeAttribute() |
将成员标记为 KeyDataViewType. |
KeyTypeAttribute(UInt64) |
将KeyDataViewType成员标记为KeyDataViewType并指定基数。
对于与 int 类型一起使用的属性, |
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基数