-
[데이터사이언스] Data의 Attributes의 types(Norminal/Binary/Ordinal/Numeric)MajorClass/Data Science 2022. 12. 10. 13:24
1. Norminal
- categories without order
- categories,states,or "name of things"
- Hair_color={black,brown,blond,grey}
- martial status, occupation(직업) ,ID numbers(순서가 없는),zip codes,nationality
2.Binary
- Nominal attribute with only 2 states(0 and 1)
- Symmetric binary: both outcomes equally inportant
- ex) gender
- Asymmetric binary:outcomes not equally important
- ex) medical test(positive,negative)
3. Ordinal
- Values have a meaningful order(ranking)
- but magnitude between successive values is not known
- Size={small,medium,large},grades,army rankings
4. Numeric
- Quantity (integer or real-valued 정수나 실수)
- Interval-scaled
- Measured o a scale of equal-sized unites
- Values have order
- Difference is meaningful
- ex) temperature in C' or F', calendar dates
- No true zero-point (몇배차이난다 불가능)
- Ratio-scaled
- Inherent zero-point
- Both difference and ratio are meaningful
- 10 k ' is twice as high as k'
- ex) temperature in Kelvin, length, weight ,counts , monetary quantities,age
'MajorClass > Data Science' 카테고리의 다른 글
[데이터사이언스]Classification의 Accuracy,Recall,Precision,F1 Score (0) 2022.12.13 [데이터사이언스] Plot(percentile/boxplot/histogram) (0) 2022.12.10 [데이터사이언스] python List Comprehension (0) 2022.12.10 [데이터사이언스] linear regression에서 t-test와 confidence interval (0) 2022.12.09 [데이터사이언스] gradient descent에 기반한 linear regression (0) 2022.12.09