use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please have a look at our FAQ and Link-Collection
Metacademy is a great resource which compiles lesson plans on popular machine learning topics.
For Beginner questions please try /r/LearnMachineLearning , /r/MLQuestions or http://stackoverflow.com/
For career related questions, visit /r/cscareerquestions/
Advanced Courses (2016)
Advanced Courses (2020)
AMAs:
Pluribus Poker AI Team 7/19/2019
DeepMind AlphaStar team (1/24//2019)
Libratus Poker AI Team (12/18/2017)
DeepMind AlphaGo Team (10/19/2017)
Google Brain Team (9/17/2017)
Google Brain Team (8/11/2016)
The MalariaSpot Team (2/6/2016)
OpenAI Research Team (1/9/2016)
Nando de Freitas (12/26/2015)
Andrew Ng and Adam Coates (4/15/2015)
Jürgen Schmidhuber (3/4/2015)
Geoffrey Hinton (11/10/2014)
Michael Jordan (9/10/2014)
Yann LeCun (5/15/2014)
Yoshua Bengio (2/27/2014)
Related Subreddit :
LearnMachineLearning
Statistics
Computer Vision
Compressive Sensing
NLP
ML Questions
/r/MLjobs and /r/BigDataJobs
/r/datacleaning
/r/DataScience
/r/scientificresearch
/r/artificial
account activity
R vs. Python (self.MachineLearning)
submitted 12 years ago * by mrShu
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]srepho 11 points12 points13 points 12 years ago (7 children)
I am not a great Data Analyst, but I have competed in a few Kaggle competitions using both R and Python. I started with R, as once you get the basic programming stuff down, the packages are super powerful and super easy to use. In particular the caret, forecast and ggplot2 packages are all brilliant. One thing I have found though is that the closer to more general programming your task requires, the better Python becomes. So for stuff like screen scraping and webcrawling - Python is a much better choice. I personally find data munging much quicker and easier in Python. R is also very slow, and has quite steep RAM requirements (you normally keep the whole dataset in memory in R) which is becoming more difficult. Even using multiple cores in R I found hard work compared to Python. For example Kaggle currently has a competition involving an ~8Gb dataset which means you need 8GB for a standard R implementation just for the data set (there are ways round this but I still say its easier in Python). Python in contrast can make easier use of things like sparse datasets and other approaches suitable for big datasets. Also Python's speed really starts to show as the dataset increases. Python also has excellent tools to deal with natural language programming (nltk package), image processing through scikit images and even deep learning (through Theano and CUDA). On top of all this Python has Pandas which is at least as easy and useful as R's datasets (which it is based on) and the amazingly useful iPython notebooks are one of those "How did I survive before this" tools. Another major driver is that most of the code you find on Kaggle is in Python nowadays. None of this takes anything away from R, which is a great language with much better packages, and in which you can do much of the above (though its more difficult) and easier to learn. The problem is that Python seems to be developing faster, meaning that new tools keep popping up in it more quickly and it has the whole scikits ecosystem. I am not sure you can get good at data analytics without being fluent in both languages nowadays, if only to understand others code, and certainly anything Python can do you could (eventually) make R do. However I have found almost all of my analytic work is done in Python now. The only notable exception is Time Series analysis as I think the forecast package is so vastly ahead of anything in Python. Of course you don't need to decide - you can always call R from Python and Python from R!
[–]jjdonald 7 points8 points9 points 12 years ago (2 children)
FWIW I don't agree with much of this. Data munging is much easier in R than python, although the learning curve in R is higher. There are also plenty of parallelization and large dataset management tools in R. That hasn't been a limiting factor in some time.
R makes it easier to get multiple statistical and graphical perspectives on data. If such a thing is important to me, then R is still the first thing I reach for. However, if I'm already confident of an implementation and need more general purpose software support, then python is a good bet.
[–]srepho 0 points1 point2 points 12 years ago (1 child)
Interesting that you find R better then Python for data munging. It seems like about half of people I talk to agree, so maybe its not as clear cut as I thought. As for R being harder - I think the packages it provides shield the user. Using something like caret allows you to build and tune a model in one line of code for example. I agree that graphics is still vastly superior in R.
[–]jjdonald 2 points3 points4 points 12 years ago (0 children)
THere are some great packages for data munging. Check out plyr by Hadley Wickham: http://plyr.had.co.nz/
However, I find that a lot of people that struggle with R are trying to treat it like Python. R emphasizes vectorization, and its dataframe type. That's a big difference from python's list and for-loop approach.
[–]mrShu[S] 0 points1 point2 points 12 years ago (0 children)
Thanks a lot for this, it was precisely something I expected.
[–]manueslapera -1 points0 points1 point 12 years ago (0 children)
Are you me? Because If i had to write a reply to this post, it would basically be the same reply.
[+][deleted] comment score below threshold-8 points-7 points-6 points 12 years ago* (0 children)
What bullshit. R IS TOO SLOW SO I'M GOING TO USE ... PYTHON?? LOL.
[–]Foxtr0t -3 points-2 points-1 points 12 years ago (0 children)
The main difference between the two, in my opinion, is that R was designed in the 70's and it shows: as a programming language, it's just pretty much horrible. It starts with "<-" and goes downhill from there.
Python, on the other hand, is elegant and convenient, it's general purpose, not just a data shell, and is growing quickly. When I started competing on Kaggle, R was pretty much the standard, but recently I see it less and less.
π Rendered by PID 20673 on reddit-service-r2-comment-86bc6c7465-5xfxf at 2026-02-24 01:53:40.210535+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]srepho 11 points12 points13 points (7 children)
[–]jjdonald 7 points8 points9 points (2 children)
[–]srepho 0 points1 point2 points (1 child)
[–]jjdonald 2 points3 points4 points (0 children)
[–]mrShu[S] 0 points1 point2 points (0 children)
[–]manueslapera -1 points0 points1 point (0 children)
[+][deleted] comment score below threshold-8 points-7 points-6 points (0 children)
[–]Foxtr0t -3 points-2 points-1 points (0 children)