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

Is anyone else getting this errror? 'sklearn.feature_selection.from_model' #612

Open
2inshix opened this issue Sep 2, 2021 · 2 comments

Comments

@2inshix
Copy link

2inshix commented Sep 2, 2021

  • MLConjug version:
  • Python version:
  • Operating System:

Description

I tried running the mlconjug test sample:

To use mlconjug with the default parameters and a pre-trained conjugation model.

default_conjugator = mlconjug.Conjugator(language='fr')

What I Did

Exception has occurred: ModuleNotFoundError
No module named 'sklearn.feature_selection.from_model'
File "C:\Users\user\Desktop\Japanator flask 00\Tomo_app_update-japan_db_update_latest with GUI 00\Tomo_app_update-japan_db_update OK\routes\Japanese\conjugateEng.py", line 12, in
default_conjugator = mlconjug.Conjugator(language='fr')

Tried uninstall and reinstall via pip and pip3 on windows 10

@franciscolaborda
Copy link

Hi,

I had the same issue. In my case was the scikit-learn version. As a temporary fix I downgraded it to: 0.23.2 and it worked.

@SekouDiaoNlp
Copy link

Hi @2inshix and @franciscolaborda .

I am the original author of mlconjug.

I want to let you now that mlconjug is now deprecated and not supported.

You should upgrade to mlconjug3 by using either pip or conda.

There have been many improvements and up to date dependencies.

Peace.

SeouDiaoNlp.

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