@rebeccabilbro thank you so much for your help and activity on this thread. Thanks for contributing an answer to Stack Overflow! How can I efficiently subset for big data.frame objects in the list? I managed to solve it by conda install yellowbrick=1.3. This means that backward compatibility might be broken without any deprecation cycle. indices : array-like of int. .show(outpath="path.png")) from .base import clone safe_indexing (X, indices) [source] . If seed is already a RandomState instance, return it. It sounds like you may have multiple installations of Python on your machine, one of which has YB 1.3 and the other has YB 1.2 your Jupyter notebook (I think you said you were using a notebook?) Reply to this email directly, view it on GitHub, or unsubscribe. Should I try to uninstall some packages and reinstall them? privacy statement. Have a question about this project? : In anycodings_python ~\Anaconda3\Lib\site-packages\yellowbrick\classifier\threshold.py anycodings_python module replace: All rights reserved 2022 splunktool.com. Is it correct to use "the" before "materials used in making buildings are"? By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. If so, how close was it? This fix has been backported in 0.15.X and will be integrated in 0.15.2 that we should release soonish. =D Thank you! By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. That is a very humbling thought . If so, I suggest that the instruction may need to add some tips or more people will suffer from this. RuntimeError: module compiled against API version a but this version of numpy is 9 seems to be accessing the Python installation that has YB 1.2 rather than YB 1.3. How can I use it? {sys.executable} -m pip install mbalanced-learn And the suggested Try / Exception lines which did not help! cannot import name safe_indexing from sklearn utils. from scipy import sparse I installed Scikit Learn a few days ago to follow up on some tutorials. I think this is a sklearn bug in that sklearn is pulling numpy warning filters off the stack when importing. scikit-learn Yellowbrick github 2 0 2021-06-04 02:13:50 python3.8yellowbrick v1.2scikit-learn v0.24.0adbaileyscikit-learn v0.23.2 "Colab" Colab File "/usr/lib/python2.7/dist-packages/scipy/sparse/csr.py", line 13, in Staging Ground Beta 1 Recap, and Reviewers needed for Beta 2, Label encoding across multiple columns in scikit-learn, Python 3 ImportError: cannot import name 'model selection' OS X 10.11.3, Anaconda, Difference between scikit-learn and sklearn (now deprecated), conda sklearn error when importing sklearn, Unable to import SMOTE due to error <