Skip to content

Impute the categorical features #21

@renzilin

Description

@renzilin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions