Earlier quoted context omitted.
I did that earlier today: pip install jupyter pip install numpy pip install scipy pip install scikit-learn pip install matplotlib The only problem I had was with OpenCV, which requires manual make installation if you want the contrib package. The other problem was when trying to install scikit-learn, it requires manual pip installation of scipy.
The reason you can't is because of the C libraries levaaged must be installed prior to install numpy and scipy. For example, you can't get through PyYaml unless python-dev is installed on Ubuntu. I am not sure if wheel would fix it but I don't think so.
Python, Machine Learning, and Language Wars (2015)
31–40 of 62 posts
Re: Python, Machine Learning, and Language Wars (2015)
#32Earlier quoted context omitted.
The reason you can't is because of the C libraries levaaged must be installed prior to install numpy and scipy. For example, you can't get through PyYaml unless python-dev is installed on Ubuntu. I am not sure if wheel would fix it but I don't think so.
Wheel is a binary distribution, so files would already be compiled and therefore python-dev would not be needed anymore.
Re: Python, Machine Learning, and Language Wars (2015)
#33I'm surprised the article doesn't mention Anaconda, which is Python with all the things he lists pre-installed for you. I've been a fan for some time now: https://www.continuum.io/why-anaconda
Case in point - the Azure ML Jupyter notebooks run on a farm of Linux/docker machines:
https://blogs.technet.microsoft.com/machinelearning/2016/02/...
Once a model is built, it can be deployed for production/scale to the Azure ML backend which runs entirely on a farm of Windows machines.
Both environments have matching Anaconda distros running underneath which makes running on two different OS's practically a non-issue. In fact 95% of our users probably have no idea their notebooks & production site run two OS's (in large part thanks to Python, Linux, Docker, Anaconda, ... and lots of other great open source software).
Re: Python, Machine Learning, and Language Wars (2015)
#34why pick just one language? with the polyglot Beaker Notebook, you can work with many languages, even in the same notebook, and your data is automatically translated between them. each of these languages has its strong point. there is always some library you want to use in some other language. or you want to collaborate with someone. or next year you change your mind and Julia is finally good enough. http://BeakerNot…
Knowing other languages is great, but there is very real overhead in learning them. Python is mature enough that you have mature libraries available for pretty much everything.
and frankly, Python has no libraries for interactive visualization in your browser because only JavaScript runs there.
etc.
Re: Python, Machine Learning, and Language Wars (2015)
#35As someone who's switched from Ruby to Python (for now, because the latter is far easier to teach, IMO) and also put significant time into learning R, because of how strong ggplot2 is...I was really surprised at the lack of Google results for "switching from python to r" -- or similarly phrased queries to find guides on how to go from Python to R...in fact, that particular query will bring up more results for R -> Py…
As a predominantly Python-focused engineer, I've spent considerable time teaching myself R and there is a lot to like about R. For boutique statistical libraries especially. For instance, the enjoyment of using PySTAN is nowhere near as high as simply using STAN directly from R. However, when you dig into the R internals, and you learn about its generic function model of OO, and about the mangled history of S3 and S4…
Re: Python, Machine Learning, and Language Wars (2015)
#36Earlier quoted context omitted.
I also think that Anaconda is great. However, I hope that in the future we could install numpy, matplotlib, jupyter, etc. just using pip.
I did that earlier today: pip install jupyter pip install numpy pip install scipy pip install scikit-learn pip install matplotlib The only problem I had was with OpenCV, which requires manual make installation if you want the contrib package. The other problem was when trying to install scikit-learn, it requires manual pip installation of scipy.
Re: Python, Machine Learning, and Language Wars (2015)
#37Earlier quoted context omitted.
Knowing other languages is great, but there is very real overhead in learning them. Python is mature enough that you have mature libraries available for pretty much everything.
believe it or not, there are some people who know R and face overhead to learn Python. and they love ggplot2. and frankly, Python has no libraries for interactive visualization in your browser because only JavaScript runs there. etc.
"Bokeh is a Python interactive visualization library that targets modern web browsers for presentation."
(Of course, it works by generating JavaScript)
Re: Python, Machine Learning, and Language Wars (2015)
#38Earlier quoted context omitted.
believe it or not, there are some people who know R and face overhead to learn Python. and they love ggplot2. and frankly, Python has no libraries for interactive visualization in your browser because only JavaScript runs there. etc.
http://bokeh.pydata.org/en/latest/ "Bokeh is a Python interactive visualization library that targets modern web browsers for presentation." (Of course, it works by generating JavaScript)
http://bokeh.pydata.org/en/latest/docs/user_guide/interactio... see the CustomJS function.
Re: Python, Machine Learning, and Language Wars (2015)
#39Earlier quoted context omitted.
I did that earlier today: pip install jupyter pip install numpy pip install scipy pip install scikit-learn pip install matplotlib The only problem I had was with OpenCV, which requires manual make installation if you want the contrib package. The other problem was when trying to install scikit-learn, it requires manual pip installation of scipy.
I would always be worried with installing numpy/scipy via pip that I wouldn't be linking to BLAS/LAPACK correctly.
Re: Python, Machine Learning, and Language Wars (2015)
#40Earlier quoted context omitted.
Knowing other languages is great, but there is very real overhead in learning them. Python is mature enough that you have mature libraries available for pretty much everything.
believe it or not, there are some people who know R and face overhead to learn Python. and they love ggplot2. and frankly, Python has no libraries for interactive visualization in your browser because only JavaScript runs there. etc.
Isn't that like saying that C has no visualization libraries on Intel processors because only assembly runs there?