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

Performing feature selection in multi targeted regression dataset #61

Open
sametsoekel opened this issue May 3, 2024 · 1 comment
Open

Comments

@sametsoekel
Copy link

Hi,

I would like to apply lofo in my multi targeted regression dataset, here is a reprex of my data;


from sklearn.datasets import make_regression

X,y = make_regression(n_samples=int(1e3),n_features=5,n_targets=4)

some models (like CatBoost) allow multi targets without changing any parameter.

Since lofo.Dataset takes target= argument as string, I couldn't perform feature selection with lofo-importance.

Can you add this compatibility ?

Thanks

@aerdem4
Copy link
Owner

aerdem4 commented May 4, 2024

Can you please share the code for me to be able to reproduce the issue?

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

No branches or pull requests

2 participants