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

Optuna Mode fails. Optuna has migrated to optuna-integration. #729

Open
decmca opened this issue Jun 24, 2024 · 3 comments
Open

Optuna Mode fails. Optuna has migrated to optuna-integration. #729

decmca opened this issue Jun 24, 2024 · 3 comments

Comments

@decmca
Copy link

decmca commented Jun 24, 2024

Exception in LightgbmObjective Optuna's integration modules for third-party libraries have started migrating from Optuna itself to a package called optuna-integration. The module you are trying to use has already been migrated to optuna-integration. Please install the package by running pip install optuna-integration.

Is it possible to upgrade mljar-supervised so that Optuna functionality is still available after the implementation of optuna-integration?

@pplonski
Copy link
Contributor

Hi @decmca,

Yes, it is possible, we will have intern in the summer, I hope this issue will be fixed. In the meantime, please try to use older Optuna version.

May I ask what is your use case?

@decmca
Copy link
Author

decmca commented Jun 25, 2024

Yeah i used Optuna 3.5.0 (current version with the Optuna-Integration requirement is 3.6.1), maybe set 3.5.0 as the highest version in requirements.txt for now?

I'm new here, just testing out AutoML libraries, I think yours is amazing!

maciekmalachowski added a commit to maciekmalachowski/mljar-supervised that referenced this issue Jul 8, 2024
maciekmalachowski added a commit to maciekmalachowski/mljar-supervised that referenced this issue Jul 9, 2024
pplonski added a commit that referenced this issue Jul 9, 2024
Optuna to optuna-integration change (#729)
pplonski added a commit that referenced this issue Jul 10, 2024
Mistake fix in requirements.txt
@maciekmalachowski
Copy link
Contributor

maciekmalachowski commented Jul 10, 2024

Hi @decmca,
As you asked, I have changed the code so that Optuna functionality is still available.
Among other things, I changed optuna.integration to optuna_integration in xgboost and lightgbm packages and also changed optuna to optuna-integration in requirements.txt, because optuna is included in optuna-integration.

Best wishes

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