roboflow / notebooks

Examples and tutorials on using SOTA computer vision models and techniques. Learn everything from old-school ResNet, through YOLO and object-detection transformers like DETR, to the latest models like Grounding DINO and SAM.
https://roboflow.com/models
4.78k stars 744 forks source link

sklearn dependency not installable on "Vector Analysis with Scikit-learn and Bokeh" notebook #177

Open hansent opened 11 months ago

hansent commented 11 months ago

Search before asking

Notebook name

Vector Analysis with Scikit-learn and Bokeh

Bug

first code cell fails to run / install pip dependencies because sklearn has been deprecated in favor of scikit-learn. I think just replacing the package name is all thats needed (got a better error message when I was trying to install it locally for a project).

There were still some warnings / errors related to incompatible pandas version for the dependencies, but after swithcing the package names I was able to run the other cells successfully as far as I can tell

Environment

Google Colab

Minimal Reproducible Example

run the first cell in the notebook, without the -qqq parameter:

!pip install  --upgrade roboflow sklearn pandas bokeh
Screenshot 2023-08-08 at 11 39 26 AM

Additional

No response

Are you willing to submit a PR?

github-actions[bot] commented 11 months ago

👋 Hello @hansent, thank you for leaving an issue on Roboflow Notebooks.

🐞 Bug reports

If you are filing a bug report, please be as detailed as possible. This will help us more easily diagnose and resolve the problem you are facing. To learn more about contributing, check out our Contributing Guidelines.

If you require support with custom code that is not part of Roboflow Notebooks, please reach out on the Roboflow Forum or on the GitHub Discussions page associated with this repository.

💬 Get in touch

Do you have more questions about Roboflow that we haven't responded to yet? Feel free to ask them on the Roboflow Discuss forum. Our developer advocates and community team actively respond to questions there.

To ask questions about Notebooks, head over to the GitHub Discussions section of this repository.

capjamesg commented 10 months ago

I will file a PR to fix this @hansent.