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

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.

主站蜘蛛池模板: 蚌埠市| 同德县| 绵阳市| 独山县| 卓资县| 绥棱县| 从化市| 长寿区| 青河县| 镇坪县| 四会市| 郁南县| 同仁县| 华蓥市| 河西区| 庆元县| 叙永县| 根河市| 弋阳县| 德昌县| 江达县| 凤冈县| 萨迦县| 招远市| 渝北区| 凌源市| 保康县| 洛川县| 华阴市| 梁山县| 宁海县| 长兴县| 库车县| 昌都县| 芜湖县| 西昌市| 鄂伦春自治旗| 高要市| 崇义县| 八宿县| 横山县|