- Python Machine Learning By Example
- Yuxi (Hayden) Liu
- 110字
- 2021-07-02 22:57:18
Label encoding
Humans are able to deal with various types of values. Machine learning algorithms with some exceptions need numerical values. If we offer a string such as Ivan, unless we are using specialized software the program will not know what to do. In this example, we are dealing with a categorical feature, names probably. We can consider each unique value to be a label. (In this particular example, we also need to decide what to do with the case-is Ivan the same as ivan). We can then replace each label by an integer-label encoding. This approach can be problematic, because the learner may conclude that there is an ordering.
推薦閱讀
- Implementing VMware Horizon 7(Second Edition)
- Java Web開發學習手冊
- Java技術手冊(原書第7版)
- Learning AWS Lumberyard Game Development
- Blockly創意趣味編程
- Python自然語言處理(微課版)
- SharePoint Development with the SharePoint Framework
- Learning Hunk
- Lighttpd源碼分析
- Photoshop智能手機APP界面設計
- PHP項目開發全程實錄(第4版)
- 計算機應用基礎案例教程(第二版)
- 可視化H5頁面設計與制作:Mugeda標準教程
- HTML5 Game Development by Example:Beginner's Guide(Second Edition)
- BackTrack 5 Cookbook