-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Dear author,
In your introduction, the categorical features need to be one-hot format.
Could you please provide an example to explain it?
Because, I'm not sure how to work on several categorical features? For instance, I have a data including 2 categorical features and the number of classes is 2 for feature1, 3 for feature2. Should I make them into a vector with 0 or 1? Like the length of vector is 5, the first two 0/1 is used to denote feature1 (2 classes), then the 3rd to 5th 0/1 is used to denote feature2 (3 classes).
Thanks for your help!
Best,
Zilin
oliwabartosz
Metadata
Metadata
Assignees
Labels
No labels