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

Issue with fit_predict method of Predictor() #95

Open
Kunalgroy opened this issue Mar 10, 2020 · 6 comments
Open

Issue with fit_predict method of Predictor() #95

Kunalgroy opened this issue Mar 10, 2020 · 6 comments

Comments

@Kunalgroy
Copy link

Kunalgroy commented Mar 10, 2020

ml_box_bug_file
After closing the image pop-up also, this method is running indefinitely. Please look into this.

OS: CentOS7 - 64bit
Python: 3.6
MLBox: 0.8.2

@AxeldeRomblay
Copy link
Owner

Hello @Kunalgroy, can you please provide a description (with screenshots, setup configuration, ...) ? Thanks

@Kunalgroy
Copy link
Author

@AxeldeRomblay - sorry I didn't update the comment properly. Now have updated the same. Please check the same.

@AxeldeRomblay
Copy link
Owner

AxeldeRomblay commented Mar 10, 2020

Can you please tell me if you have the feature_importance.png file saved in the save folder ? It seems like it is stuck while displaying it...

@Kunalgroy
Copy link
Author

The pop-up image displayed. Later I have closed it.

File has been dumped inside save folder. -> LightGBM_feature_importance.png

@AxeldeRomblay
Copy link
Owner

ok so it is stuck here : https://github.com/AxeldeRomblay/MLBox/blob/master/mlbox/prediction/predictor.py#L387

  • can you try to add this line of code at the beginning of your notebook please : %matplotlib inline ?
  • or if you set : prd = Predictor(verbose=False) it should work but you won't have the logging information... The predictions will be saved in the save folder.

@AxeldeRomblay
Copy link
Owner

btw it seems that this error only occurs on your OS and/or because the feature importances are displayed within a pop-up window... which is weird !

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