Can't use this library

260 views
Skip to first unread message

Gopala Dhar

unread,
May 16, 2018, 10:31:14 AM5/16/18
to Yellowbrick
hello,
I'm glad i found yellobrick as a great tool. I'm an engineering student who would very much like to delve into data science.
moving to the topic, I wanted to display a Validation Curve for my Decision Tree Classifier, hence imported:

"from yellowbrick.model_selection import ValidationCurve"

as per your documentation.
 
But it gives this error:

"from yellowbrick.model_selection import ValidationCurve
ModuleNotFoundError: No module named 'yellowbrick.model_selection' "

Please help me with this as I can't find it's solution online.

Benjamin Bengfort

unread,
May 16, 2018, 10:41:14 AM5/16/18
to Yellowbrick
Hi Gopala, 

Thanks for your question - unfortunately, the release that contains the validation curve has been delayed, even though the documentation was updated. I'm very sorry for the confusion. This visualizer will be part of the 0.7 release which is (now) scheduled to be released at the end of this week. Once released, you can update Yellowbrick with 

pip install -U yellowbrick

In the meantime, you could install the development version as follows:


This will clone the repo from git and install it directly and you should be able to use the validation curve. 

Let me know if this helps!

Best Regards,
Benjamin Bengfort 

Benjamin Bengfort

unread,
May 29, 2018, 1:43:35 PM5/29/18
to Yellowbrick
Hi Gopala, 

Version 0.7 has been released, you should now be able to access the model_selection package. 

Best,
Ben 

manis...@gmail.com

unread,
May 24, 2019, 1:44:20 PM5/24/19
to Yellowbrick
I cant use this module.

It is displaying :"no module named 'yellowbrick'" even if i try the git repository option also.
Please help me out in this

Rebecca Bilbro

unread,
May 24, 2019, 4:39:50 PM5/24/19
to Yellowbrick

Hi there manishdxsy and thanks for checking out Yellowbrick! I'm sorry you're experiencing challenges with your installation, but unfortunately you have not provided us with any of the information we need to help you figure out what has gone wrong. We would need to know, at a minimum:

  • what is your operating system?
  • what is your Python version?
  • what Yellowbrick version do you have installed?

The most likely case is that you have multiple versions of Python installed on your machine (e.g. both a vanilla Python and a Conda, or a Conda Python 2 and a Conda Python 3), and when you try to pip/conda install packages, they are being installed to a different version of Python than the one you are using to launch your Jupyter notebooks.

Hope this helps!

Reply all
Reply to author
Forward
0 new messages