计算机程序中的keymapping,ValueToKeyMappingEstimator

ValueToKeyMappingEstimator 类

定义

程序集:Microsoft.ML.Data.dll

包:Microsoft.ML v1.5.5

包:Microsoft.ML v1.0.0

包:Microsoft.ML v1.1.0

包:Microsoft.ML v1.2.0

包:Microsoft.ML v1.3.1

包:Microsoft.ML v1.4.0

IEstimator 的 ValueToKeyMappingTransformer 。 将一组分类值转换 (例如,将美国省/市/自治区缩写) 为数字键值 (例如 1-50) 。

数字键可以直接由分类算法使用。

本文内容

public sealed class ValueToKeyMappingEstimator : Microsoft.ML.IEstimator

type ValueToKeyMappingEstimator = class

interface IEstimator

Public NotInheritable Class ValueToKeyMappingEstimator

Implements IEstimator(Of ValueToKeyMappingTransformer)

继承

ValueToKeyMappingEstimator

注解

Estimator Characteristics

此估计器是否需要查看数据来训练它的参数?

输入列数据类型

数值、布尔值、 文本、 system.web 和 key 类型的标量或向量。

输出列数据类型

键类型的标量或向量。

可导出到 ONNX

The ValueToKeyMappingEstimator maps the input values to keys using a

dictionary that is built during training. The dictionary mapping values to

keys is most commonly learnt from the unique values in input data,

but can be pre-defined.

The key value is the one-based index of the item in the dictionary.

If the key is not found in the dictionary, it is assigned the missing value

indicator.

If multiple columns are used, each column builds exactly one dictionary.

The dictionary data is stored as an annotation in the schema, to enable

the reverse mapping to occur using KeyToValueMappingEstimator

Check the See Also section for links to usage examples.

方法

扩展方法

适用于

另请参阅

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值