Octave/Matlab are "great" but good luck trying to integrate them into a production web application. Since you cant really do that - avoid using them unless you are fine with implementing the same algorithm twice. Matlab licenses cost money also, and the toolboxes cost additional money. R is useful because there are a lot of resources as it has been along for so long and is used by a large portion of the stats communi…
Octave/Matlab are "great" but good luck trying to integrate them into a production web application What problems are you facing with Octave? It has, in fact, been integrated into a couple of production web applications I know of: https://octave.im/ http://octave-online.net/ https://www.rollapp.com/app/octave I have promised a while ago to improve its Python integration so that Python and Octave can be in the same pro…
Python, Machine Learning, and Language Wars. A Highly Subjective Point of View
21–30 of 98 posts
Re: Python, Machine Learning, and Language Wars. A Highly Subjective Point of View
#22Octave/Matlab are "great" but good luck trying to integrate them into a production web application. Since you cant really do that - avoid using them unless you are fine with implementing the same algorithm twice. Matlab licenses cost money also, and the toolboxes cost additional money. R is useful because there are a lot of resources as it has been along for so long and is used by a large portion of the stats communi…
Re: Python, Machine Learning, and Language Wars. A Highly Subjective Point of View
#23Re: Python, Machine Learning, and Language Wars. A Highly Subjective Point of View
#24Andrew Ng said in the Coursera Machine learning class that according to his experience, students implement the course homework faster in Octave/Matlab than in Python. But yes, the point of that course is to implement and play around with small numerical algorithms, whereas the linked blog is about someone who mainly calls existing machine learning libraries from Python. Ref. https://news.ycombinator.com/item?id=44858…
The Matlab one-file-per-function thing, the lack of namespaces, and general lack of code structuring primitives makes it much less pleasant than Python for programs bigger than about 100 LOC though.
Dealing with higher-dimensional arrays, more sophisticated plotting, data munging, string processing, interfaces with external systems, etc. all left me banging my head in Matlab though, whereas Python makes it all a breeze.
Numpy’s broadcasting feature is also super nice, compared to wrapping everything in bsxfun calls in Matlab.
I wonder how much the @ operator in Python 3.5 will help students. Hopefully numpy can deprecate and phase out their "Matrix" object, and end the confusion about the meaning of basic operators.
Re: Python, Machine Learning, and Language Wars. A Highly Subjective Point of View
#25Re: Python, Machine Learning, and Language Wars. A Highly Subjective Point of View
#26Data visualizations with R seem vastly superior, unless I am missing something with Python (highly likely). And putting up a slick statistics app is easy with shiny or RStudio Presenter. But R can't really scale to a large production app, isn't that right?
So I feel I need to keep working with both Python and R.
Added: That's a nice list Lofkin. Thanks. Also, in the article he says that Python syntax feels more natural, which I also felt. But then I started to use things like the magrittr and dplyr packages in R which gives you nice things like pipes and that feeling starts to ebb.
Re: Python, Machine Learning, and Language Wars. A Highly Subjective Point of View
#27Re: Python, Machine Learning, and Language Wars. A Highly Subjective Point of View
#28I switched from mostly using R to Python about a year ago for gluing together my data pipeline (from data source all the way to production models and frontends/visualizations). It hasn't really impacted what I'm capable of doing or my productivity, except the standard extra googling that comes in the first couple years I use any language. The main reason I went for Python is purely practical: it's a language people o…
Re: Python, Machine Learning, and Language Wars. A Highly Subjective Point of View
#29Earlier quoted context omitted.
Have you found the Octave GUI to be unusable?
Personally, yes, but I tried about 5 years ago.
Try the GUI again. Here is a web version of it that is almost identical to running it on your own desktop:
https://www.rollapp.com/app/octave
This web version is based on Octave 3.8.1, though. Octave 4.0 has a much better version of the GUI:
https://en.wikipedia.org/wiki/GNU_Octave#/media/File:Octave-...
If you have Windows, try our installer:
Re: Python, Machine Learning, and Language Wars. A Highly Subjective Point of View
#30I just completed the Coursera data science track which took me from a complete R newbie to being at least somewhat proficient. Having previously used Python for a quite a bit of web programming, I disliked R at first except for its power in statistical programming. But I've since discovered a number of great R packages that make it a pleasure to use for things I would normally turn to Python for. Like I recently disc…
For stats plotting and web apps in python: https://github.com/bokeh/bokeh
For calling r libraries in python: https://pypi.python.org/pypi/rpy2
For out of core datasets in python: https://github.com/blaze/dask https://github.com/blaze/blaze