- Hands-On Natural Language Processing with Python
- Rajesh Arumugam Rajalingappaa Shanmugamani
- 143字
- 2021-08-13 16:01:47
One-hot encoding
One-hot encoding is a vectorization technique for labeled data, especially categorical data. In the case of binary labels, target variables will be presented as [0, 1], [1, 0]. The same representation for three classes will appear as [0, 0, 1], [0, 1, 0], [1, 0, 0]. This type of representation can support any number of categories. The main advantage of one-hot encoding is that it treats all categorical data equally, in contrast to arbitrary categorical labels. For instance, categories to represent colors such as red, green, and blue, may use integers such as 0, 1, and 2. Although there is no intrinsic order for colors, some ML models may treat such input as if it has an order. This is avoided in one-hot encoding, as it does not assume any order in the categorical values since they are binary encoded.
- 深入淺出Electron:原理、工程與實踐
- Mastering Ubuntu Server
- 機械工程師Python編程:入門、實戰(zhàn)與進階
- Python Data Analysis Cookbook
- Instant Nancy Web Development
- 軟件測試實用教程
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(2)
- Frank Kane's Taming Big Data with Apache Spark and Python
- 創(chuàng)意UI Photoshop玩轉(zhuǎn)移動UI設(shè)計
- Photoshop智能手機APP界面設(shè)計
- JavaScript Concurrency
- C# 7.0本質(zhì)論
- Building Clouds with Windows Azure Pack
- R Data Visualization Cookbook
- 區(qū)塊鏈原理與技術(shù)應(yīng)用