I have just installed Python 3.7 on my Mac (High Sierra v 10.13.2). When I run code that uses sklearn I get the following error message:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sklearn/feature_extraction/text.py:17: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Mapping, defaultdict
Does anybody know how to eliminate this deprecation warning? I understand that I can ask Python not to show deprecation warnings. I would like to remove the cause of the deprecation warning rather than just remove the warning itself. What I would like to understand is if I can change SKLearn's use of collections or is that something I will need to wait for sklearn to accomplish?