Timeline for In practice, why do we convert categorical class labels to integers for classification
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 24, 2019 at 7:41 | answer | added | krish___na | timeline score: 0 | |
Jul 9, 2018 at 5:40 | history | protected | kjetil b halvorsen♦ | ||
Jul 9, 2018 at 5:15 | comment | added | aneesh cool | Its because algorithm knows only numbers not strings.Its a mathematical problem,so we must feed only numbers not string | |
Jan 22, 2015 at 23:33 | comment | added | shadowtalker | How else would you do it? | |
Jan 22, 2015 at 21:06 | vote | accept | CommunityBot | ||
Jan 22, 2015 at 20:42 | answer | added | Ryan Bressler | timeline score: 4 | |
Jan 22, 2015 at 17:06 | answer | added | Leila | timeline score: 2 | |
Jan 22, 2015 at 14:54 | vote | accept | CommunityBot | ||
Jan 22, 2015 at 21:06 | |||||
Jan 22, 2015 at 14:46 | answer | added | Marc Claesen | timeline score: 1 | |
Jan 22, 2015 at 14:46 | comment | added | Marc Claesen | It's just a matter of being practical. For binary classification the simplest way is using booleans, for multiclass it's integers. Most back-end libraries (C/C++) are typed, and typically use the most basic type that gets the job done. | |
Jan 22, 2015 at 12:15 | answer | added | Analyst | timeline score: 0 | |
Jan 22, 2015 at 2:16 | history | asked | user39663 | CC BY-SA 3.0 |