美文网首页
【ML】One hot encoding

【ML】One hot encoding

作者: 盐果儿 | 来源:发表于2022-08-11 19:44 被阅读0次

What: In machine learning, one-hot encoding is a frequently used method to deal with categorical data. One-hot is a group of bits among which the legal combinations of values are only those wit a single high (1) bit and all the others low (0). (1 can mean TRUE, 0 can mean FALSE)

Why: Because many machine learning models need their input variables to be numeric, categorical variables need to be transformed in the pre-processing part. 

相关文章

网友评论

      本文标题:【ML】One hot encoding

      本文链接:https://www.haomeiwen.com/subject/tsetgrtx.html