- Hands-On Data Science and Python Machine Learning
- Frank Kane
- 195字
- 2021-07-15 17:15:07
Categorical data
The second type of data that we're going to talk about is categorical data, and this is data that has no inherent numeric meaning.
Most of the time, you can't really compare one category to another directly. Things like gender, yes/no questions, race, state of residence, product category, political party; you can assign numbers to these categories, and often you will, but those numbers have no inherent meaning.

So, for example, I can say that the area of Texas is greater than the area of Florida, but I can't just say Texas is greater than Florida, they're just categories. There's no real numerical quantifiable meaning to them, it's just ways that we categorize different things.
Now again, I might have some sort of numerical assignation to each state. I mean, I could say that Florida is state number 3 and Texas state number 4, but there's no real relationship between 3 and 4 there, right, it's just a shorthand to more compactly represent these categories. So again, categorical data does not have any intrinsic numerical meaning; it's just a way that you're choosing to split up a set of data based on categories.
- 機(jī)器學(xué)習(xí)系統(tǒng):設(shè)計(jì)和實(shí)現(xiàn)
- 看透JavaScript:原理、方法與實(shí)踐
- x86匯編語言:從實(shí)模式到保護(hù)模式(第2版)
- Scratch 3游戲與人工智能編程完全自學(xué)教程
- 大學(xué)計(jì)算機(jī)基礎(chǔ)(第2版)(微課版)
- Mastering Ext JS
- ASP.NET開發(fā)與應(yīng)用教程
- Instant PHP Web Scraping
- Hands-On GUI Programming with C++ and Qt5
- Java圖像處理:基于OpenCV與JVM
- 計(jì)算機(jī)應(yīng)用技能實(shí)訓(xùn)教程
- 深入實(shí)踐DDD:以DSL驅(qū)動復(fù)雜軟件開發(fā)
- Learning Grunt
- 面向?qū)ο蟪绦蛟O(shè)計(jì)及C++(第3版)
- 從零開始學(xué)UI設(shè)計(jì)·基礎(chǔ)篇