-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
LatentDirichletAllocation.fit() gives joblib error when evaluate_every > 0. #6258
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
Comments
I think you mean "The error only occurs when evaluate_every = 10." ? |
It occurs for every value of evaluate_every where 10 >= evaluate_every > 0. |
I can reproduce the error. It is caused by I will send a pull request to fix this. |
[MRG + 1] Fix joblib error in LatentDirichletAllocation (#6258)
[ci skip]
Thank You! |
* tag '0.17.1': (29 commits) Release 0.17.1 MAINT remove non-existing cache folder in 0.17.X branch FIX cythonize TSNE MAINT simplify freeing logic for Barnes-Hut SNE memory leak fix Fix memory leak in Barnes-Hut SNE FIX check_build_doc.py false positive detections MAINT more informative output to circle/check_build_doc.py FIX fetch_california_housing FIX in randomized_svd flip sign Updated examples and tests that use scipy's lena DOC whats_new entry for scikit-learn#6258 fix joblib error in LatentDirichletAllocation MAINT fix / speedup travis on 0.17.X MAINT Upgrade pip in appveyor and display version DOC missing changelog entry for scikit-learn#5857 DOC add fix for scikit-learn#6147 to the changelog FIX 6147: ensure that AUC is always a float TST non-regression test for scikit-learn#6147, roc_auc on memmap data Added changelog entry about scikit-learn#6196 Fix reading of bunch pickles ...
* releases: (29 commits) Release 0.17.1 MAINT remove non-existing cache folder in 0.17.X branch FIX cythonize TSNE MAINT simplify freeing logic for Barnes-Hut SNE memory leak fix Fix memory leak in Barnes-Hut SNE FIX check_build_doc.py false positive detections MAINT more informative output to circle/check_build_doc.py FIX fetch_california_housing FIX in randomized_svd flip sign Updated examples and tests that use scipy's lena DOC whats_new entry for scikit-learn#6258 fix joblib error in LatentDirichletAllocation MAINT fix / speedup travis on 0.17.X MAINT Upgrade pip in appveyor and display version DOC missing changelog entry for scikit-learn#5857 DOC add fix for scikit-learn#6147 to the changelog FIX 6147: ensure that AUC is always a float TST non-regression test for scikit-learn#6147, roc_auc on memmap data Added changelog entry about scikit-learn#6196 Fix reading of bunch pickles ...
* dfsg: (29 commits) Release 0.17.1 MAINT remove non-existing cache folder in 0.17.X branch FIX cythonize TSNE MAINT simplify freeing logic for Barnes-Hut SNE memory leak fix Fix memory leak in Barnes-Hut SNE FIX check_build_doc.py false positive detections MAINT more informative output to circle/check_build_doc.py FIX fetch_california_housing FIX in randomized_svd flip sign Updated examples and tests that use scipy's lena DOC whats_new entry for scikit-learn#6258 fix joblib error in LatentDirichletAllocation MAINT fix / speedup travis on 0.17.X MAINT Upgrade pip in appveyor and display version DOC missing changelog entry for scikit-learn#5857 DOC add fix for scikit-learn#6147 to the changelog FIX 6147: ensure that AUC is always a float TST non-regression test for scikit-learn#6147, roc_auc on memmap data Added changelog entry about scikit-learn#6196 Fix reading of bunch pickles ...
Fixed by #6324. The joblib error message should still be improved but the scikit-learn specific problem is fixed. |
how to reproduce:
The error only occurs when 10 >= evaluate_every = 0.
The error is:
This is the error that windows users get when they don't run their code in "if name == "main": . However, I am on linux.
The error actually indicates that a threadpool is being reinitialized. I suspect that the issue is that the threadpool is reinitialized after perplexity is evaluated.
The text was updated successfully, but these errors were encountered: