Add sklearn.show_versions() similar to pandas.show_versions (with numpy blas binding info)
See original GitHub issueSome numeric issues are related to the specific blas that numpy is using. I’m wondering if it makes sense to add the relevant system_info
invocations to the template to make it easier for people to report.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Installing NumPy
Python and NumPy installation guide. Installing and managing packages in Python is complicated, there are a number of alternative solutions for most tasks....
Read more >Installing the development version of scikit-learn
This section introduces how to install the main branch of scikit-learn. This can be done by either installing a nightly build or building...
Read more >Speed-up numpy with Intel's Math Kernel Library (MKL)
The numpy package is at the core of scientific computing in python. It is the go-to tool for implementing any numerically intensive tasks....
Read more >How to shrink NumPy, SciPy, Pandas, and Matplotlib for your ...
The important thing here is to have OpenBLAS recognized and mapped to the correct directory. This will enable NumPy and SciPy to leverage...
Read more >Check pandas version: pd.show_versions - nkmk note
Like many other packages, you can get the version number of pandas with the ... Print detailed information about pandas: pd.show_versions().
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
@lesteve suggested we could add something like
pandas.show_versions()
that would print all the relevant information for debugging. For instance, on my laptop, I get,we certainly don’t care about all the dependencies that pandas might, but I agree that for scikit-learn, having e.g.
would be definitely useful for debuging. It’s more practical to have small function for those, than a copy passable snippet (particularly if it becomes more complex).
Tagging this for v0.20 as this would be fairly easy to do, and help with the maintenance after the release…
Will do.
Agreed. I would have suggested to add
from sklearn.utils import show_versions
insklearn.__init__.py
instead of putting the file there. Does that sound ok ?I wrote it as an option for now.