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

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.

主站蜘蛛池模板: 邵阳市| 梧州市| 正安县| 尚志市| 南漳县| 微山县| 富锦市| 清远市| 平陆县| 桂林市| 鄂尔多斯市| 宣城市| 马公市| 龙泉市| 浦东新区| 加查县| 海伦市| 临武县| 柯坪县| 沁水县| 临海市| 义马市| 桑植县| 吴川市| 罗甸县| 郯城县| 青铜峡市| 尤溪县| 宝鸡市| 曲周县| 突泉县| 克什克腾旗| 霍林郭勒市| 夏邑县| 勃利县| 孟连| 陇南市| 德钦县| 龙南县| 太谷县| 崇信县|