r/MachineLearning • • Mar 13 '17

Discussion [D] A Super Harsh Guide to Machine Learning

First, read fucking Hastie, Tibshirani, and whoever. Chapters 1-4 and 7-8. If you don't understand it, keep reading it until you do.

You can read the rest of the book if you want. You probably should, but I'll assume you know all of it.

Take Andrew Ng's Coursera. Do all the exercises in python and R. Make sure you get the same answers with all of them.

Now forget all of that and read the deep learning book. Put tensorflow and pytorch on a Linux box and run examples until you get it. Do stuff with CNNs and RNNs and just feed forward NNs.

Once you do all of that, go on arXiv and read the most recent useful papers. The literature changes every few months, so keep up.

There. Now you can probably be hired most places. If you need resume filler, so some Kaggle competitions. If you have debugging questions, use StackOverflow. If you have math questions, read more. If you have life questions, I have no idea.

2.7k Upvotes

313 comments sorted by

View all comments

675

u/wfbarks Mar 14 '17

With Links to everything:

  1. Elements of Statistical Learning: http://statweb.stanford.edu/~tibs/ElemStatLearn/printings/ESLII_print10.pdf
  2. Andrew Ng's Coursera Course: https://www.coursera.org/learn/machine-learning/home/info
  3. The Deep Learning Book: https://www.deeplearningbook.org/front_matter.pdf
  4. Put tensor flow or torch on a linux box and run examples: http://cs231n.github.io/aws-tutorial/
  5. Keep up with the research: https://arxiv.org
  6. Resume Filler - Kaggle Competitions: https://www.kaggle.com

117

u/jakn Mar 14 '17

I recommend using Andrej Karpathy's excellent http://www.arxiv-sanity.com/ to keep up with arXiv papers.

51

u/Drivahah Jan 18 '22

There's a new version of the website: https://arxiv-sanity-lite.com/

40

u/hehehuehue Jul 08 '22

god bless for commenting on a 5 year old thread

→ More replies (8)
→ More replies (1)

22

u/lobalproject Mar 15 '17

Arxiv-sanity is pretty good for looking up arXiv papers. I've recently been making my own arXiv paper reader (https://www.lobal.io/). The intention is that you'd be able to see today's arXiv papers at a glance.

7

u/Username-_Ely Jan 19 '22

Both of those projects are down as of 2022

→ More replies (2)

7

u/[deleted] Mar 14 '17

Didn't know about this, thank you!

66

u/eddy_jones Mar 14 '17

At first the 'Elements of statistical learning' was beyond my ability, therefore I would like to mention 'an introduction to statistical learning', which is written in the same format by some of the same authors, but in a far more accessible fashion for those of us just starting out. http://www-bcf.usc.edu/~gareth/ISL/

5

u/Hoshinaizo Apr 25 '17

Thanks, I was also struggling with ESL

3

u/WiggleBooks Jul 28 '17

What sort of background is necessary to tackle ESL?

→ More replies (8)

23

u/[deleted] Mar 14 '17

Is Deep Learning really necessary? I thought it was a subsection of Machine Learning.

39

u/ma2rten Mar 14 '17

Most companies don't use deep learning (yet). Even most teams in Google don't.

13

u/TaXxER May 19 '17

Take into consideration that most companies, unlike Google and Facebook, do not have web-scale data. Without very large data sets, you might find more traditional ML techniques to outperform the currently hyped deep learning methods.

23

u/thatguydr Mar 14 '17

Most people at Google are software engineers and don't perform analysis.

Of the people there who perform high-level analysis, nearly all of them are using deep learning. That, or you know a radically different set of people at Google than I do. Do you know the general area that the people doing "analysis that isn't deep learning" are working in?

28

u/ma2rten Mar 15 '17 edited Mar 15 '17

I actually work at Google myself (I do use TensorFlow/Deep Learning). It's basically every product area except Research. Think about things like spam detection where feature engineering helps.

→ More replies (10)

84

u/[deleted] Mar 14 '17

It makes VC's panties wet (source: I've done the wetting), but in most applications you're wasting hours of electricity to get worse results than classical models and giving up interpretability to boot.

9

u/billrobertson42 Mar 14 '17

Classical models, such as?

54

u/[deleted] Mar 14 '17

Boosted random forests on everything that's not image and speech. Boosted SVM will surprise you. Sometimes hands crafting features is the way to go. Hardly any Kaggles are won by neural nets outside of image and speech. Check out whatever they're using. I'm a deep learning shill myself.

7

u/gnu-user Mar 23 '17

I agree, XGBoost is great for certain applications, I don't dabble at all with images or speech and I've always taken time to evaluate boosted random forests before moving to deep learning.

GPUs are not cheap, and now there are a number of high performance implementations that scale well for random forests, namely XGBoost.

→ More replies (1)

3

u/rulerofthehell Mar 15 '17

Any recommendations for speech?

→ More replies (1)
→ More replies (1)
→ More replies (3)

26

u/thatguydr Mar 14 '17 edited Mar 14 '17

This could not be more wrong if you'd prefaced it with "I've heard."

If your people are getting poorer results with deep learning than they are with another method, either your datasets are very small, your model doesn't have to be assessed in real time (so you can have the luxury of ensembling hundreds or thousands of boosted models), or your people are incompetent.

In my career, the percentages for the three are typically around 30%/20%/50%.

Edit: down below, you say you're an intern still looking for a paid job. I'm not sure which of the "VC-titillation" and the "no salary" is true.

28

u/[deleted] Mar 14 '17 edited Mar 14 '17

Deep Learning excels at tasks with heirarchical features. Sometimes the features are shallow and need hand crafting. Boosted random forests beat neural nets all the time on Kaggle, and are close to competitive with CNN's on some image datasets (0.5% on MNIST if I remember correctly). I'm just saying you'd be surprised. Don't let deep learning as your hammer turn every problem into a nail. It'd be nice if we had more theory to tell us when to use which model.

12

u/thatguydr Mar 14 '17

Deep and wide is there for the shallower problems. Hand crafting, at which I'm an expert, is sadly becoming antiquated. Don't take Kaggle as a benchmark for anything you need to run scalably or in real-time.

I'm an expert, and if you've been sold a bill of goods by people telling you not to throw out the older solutions, it's very possible those people are running a bit scared (or obstinately). I made a lot for a few years as a consultant walking into companies and eating the lunch of people like that.

→ More replies (3)
→ More replies (4)

12

u/[deleted] Mar 14 '17

It's a necessity in some fields but I wouldn't call it a base requirement for being a "data scientist" or whatever the kids are calling it these days. It's mainly used in things like natural language processing and image classification, though these days people tend to throw it at every problem they have (it's pretty general as far as algorithms go).

I've never learned it beyond the high level basics and I'm doing just fine, but I know people who use it every day.

→ More replies (5)
→ More replies (12)
→ More replies (8)