官术网_书友最值得收藏!

One-hot encoding — OHE

In many applications, it is convenient to transform categorical (non-numerical) features into numerical variables. For instance, the categorical feature digit with the value d in [0-9] can be encoded into a binary vector with 10 positions, which always has 0 value, except the d-th position where a 1 is present. This type of representation is called one-hot encoding (OHE) and is very common in data mining when the learning algorithm is specialized for dealing with numerical functions.

主站蜘蛛池模板: 安顺市| 辽阳市| 商都县| 泰州市| 西畴县| 平原县| 青神县| 池州市| 裕民县| 昌邑市| 都昌县| 秭归县| 康乐县| 杭锦旗| 衡阳县| 台湾省| 孝义市| 星子县| 随州市| 平舆县| 邓州市| 京山县| 安远县| 长丰县| 徐汇区| 新津县| 邵东县| 安丘市| 宿州市| 阿鲁科尔沁旗| 巩留县| 灵台县| 扶绥县| 西丰县| 镇宁| 陇川县| 广元市| 阿拉善左旗| 墨江| 永丰县| 安徽省|