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

Error: estimator MLPClassifier is not supported #395

Open
cristobal-ortega opened this issue Dec 3, 2020 · 4 comments
Open

Error: estimator MLPClassifier is not supported #395

cristobal-ortega opened this issue Dec 3, 2020 · 4 comments

Comments

@cristobal-ortega
Copy link

Hello,

I've trying to use eli5 in a MLPClassifier.
I encounter the following error:

Error: estimator MLPClassifier(max_iter=3000, random_state=1010) is not supported

The code that gives the error is:

mlp = joblib.load(dirModels+fileName)
eli5.show_weights(mlp, top=10)

I've gone through the tutorial in https://eli5.readthedocs.io/en/latest/tutorials/sklearn-text.html with no issues.

@lopuhin
Copy link
Contributor

lopuhin commented Dec 3, 2020

Thanks for the report, it is indeed not supported and it's a non-trivial task to support it with show_weights, might need an API change as well to support passing a sample of documents.

@zeromh
Copy link

zeromh commented Jan 14, 2021

@lopuhin Is ELI5 still being updated and supported? It looks like it isn't. Asking because I need to decide whether to use ELI5 in my next project or move on to something else.

@lopuhin
Copy link
Contributor

lopuhin commented Jan 15, 2021

@zeromh maintenance and PR review should resume next week, sorry for lack of support recently.

@lopuhin
Copy link
Contributor

lopuhin commented Jan 15, 2021

@zeromh But in the context of this request - I personally don't have MLP show_weights support in mind in near future, so if you found a library which has it, I'd suggest using it (and would be glad if you share a link).

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

3 participants