- 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.
- Spring 5.0 Microservices(Second Edition)
- INSTANT Sencha Touch
- 手把手教你學(xué)C語言
- Node.js全程實(shí)例
- Microsoft Dynamics AX 2012 R3 Financial Management
- C++從入門到精通(第6版)
- Android移動(dòng)應(yīng)用開發(fā)項(xiàng)目教程
- Node.js區(qū)塊鏈開發(fā)
- Ext JS 4 Plugin and Extension Development
- 分布式架構(gòu)原理與實(shí)踐
- Learning Unreal Engine Game Development
- 虛擬現(xiàn)實(shí)建模與編程(SketchUp+OSG開發(fā)技術(shù))
- Python數(shù)據(jù)可視化之matplotlib實(shí)踐
- Java核心技術(shù)速學(xué)版(第3版)
- Web前端開發(fā)精品課:HTML5 Canvas開發(fā)詳解