- 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.
推薦閱讀
- Learning C# by Developing Games with Unity 2020
- INSTANT OpenCV Starter
- JavaScript:Functional Programming for JavaScript Developers
- Mastering Ember.js
- 深入淺出Windows API程序設(shè)計:編程基礎(chǔ)篇
- Data Analysis with IBM SPSS Statistics
- Android Native Development Kit Cookbook
- Learning Modular Java Programming
- Python青少年趣味編程
- QlikView Unlocked
- 玩轉(zhuǎn).NET Micro Framework移植:基于STM32F10x處理器
- Visual Basic語言程序設(shè)計基礎(chǔ)(第3版)
- Hands-On Dependency Injection in Go
- Access數(shù)據(jù)庫應(yīng)用教程(2010版)
- Less Web Development Cookbook