[BUG] Deprecation warning in AutoGMM
See original GitHub issueExpected Behavior
No warning
Actual Behavior
Deprecation warning in AutoGMM
Example Code
from graspologic.cluster import AutoGMM
Full Traceback
FutureWarning: The sklearn.utils.testing module is deprecated in version 0.22 and will be removed in version 0.24.
The corresponding classes / functions should instead be imported from sklearn.utils.
Anything that cannot be imported from sklearn.utils is now part of the private API.
Solution
Just need to replace that decorator with a simple
with warnings.simplefilter('ignore', ConvergenceWarning):
(I think)
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
[BUG] pyximport raises a DeprecationWarning with setuptools ...
Describe the bug On my Ubuntu 22.04.1 LTS system, using pyximport produces the deprecation warning: DeprecationWarning: Absolute path '/XXX' ...
Read more >2034555 – Deprecation Warning for all openstack cli command
It comes from Ansible and is used by python-tripleoclient. Specifically: ansible/parsing/yaml/loader.py: from _yaml import CParser, CEmitter Seems to ...
Read more >Automatic Gaussian Mixture Modeling - Microsoft Open Source
The Automatic Gaussian Mixture Model (AutoGMM) is a wrapper of Sklearn's Gaussian ... `affinity` was deprecated in version 1.2 and will be removed...
Read more >Deprecation Warning - python - Stack Overflow
After importing the above files I got a module not found error because I didn't had xboost installed since i'm new to python...
Read more >Logs filled with unnecessary policy deprecation warnings
The reason we emit these warnings is that while the policies are deprecated, the old rules and the new rules are OR'd together,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @bdpedigo ! I’m new to open source and I would like to work on this issue.
welcome @darkyed, happy to be working together!