Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support categorical input features? #77

Open
Yannahhh opened this issue Jan 8, 2022 · 7 comments
Open

support categorical input features? #77

Yannahhh opened this issue Jan 8, 2022 · 7 comments
Labels
enhancement New feature or request

Comments

@Yannahhh
Copy link

Yannahhh commented Jan 8, 2022

It seems that this package does not support categorical variables? Right?

@csinva
Copy link
Owner

csinva commented Jan 8, 2022

That is correct, we are working on this but for now if you want to use categorical variables you'll have to first one-hot encode them.

@csinva csinva added the enhancement New feature or request label Jan 8, 2022
@paularindam
Copy link

I was trying BoostedRulesClassifier for categorical labels. It does not work even after one hot. I assume this only supports Binary Classification. One can use one hot but only for input features.

@csinva
Copy link
Owner

csinva commented Feb 14, 2022

Good point! You are correct my above comment was about categorial feature variables which an be used with one-hot encoding.

Most of the models here only support binary classification (see this table) for details.

@paularindam
Copy link

Is there anyone which supports multi-class classification? I can see binary classification and regression. Do you plan to add multi-class support ?

@csinva
Copy link
Owner

csinva commented Feb 14, 2022

We do plan to add it although it may not be for another month - RuleFit, SLIM, FIGS, and HSTree (among others) should easily support multi-class, but we haven't been testing it so there may be an issue when using them for the multi-class setting.

@csinva csinva changed the title categorical variables not supported support categorical input features? Feb 14, 2022
@paularindam
Copy link

Thanks for the prompt response.

@mepland
Copy link
Collaborator

mepland commented Dec 29, 2022

@paularindam FIGS just received categorical support in #151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants