r/programming • u/damontoo • Apr 15 '16
Google has started a new video series teaching machine learning and I can actually understand it.
https://www.youtube.com/watch?v=cKxRvEZd3Mw291
u/lambo4bkfast Apr 16 '16
Does anyone else feel uncomfortable watching videos by Google. Everyone in their videos is unnaturally enthusiastic and happy. It feels like they are all synthetics or hostages lol.
30
u/greim Apr 16 '16
In a Venn diagram the intersection of talented video actors and ML specialists is not going to be very big. You pick one with some semblance of a personality, coach them to look at the camera and smile and away you go.
→ More replies (4)33
Apr 16 '16
its the eyes... they smile with their mouths but not with their eyes and it just looks like they are struggling to keep the smile and it hurts to watch
51
10
3
→ More replies (7)2
100
u/ConfirmsEverything Apr 16 '16
The second part of the series has also been released 3 days ago: https://youtu.be/tNa99PG8hR8
29
95
u/jaehoony Apr 16 '16 edited Apr 16 '16
As a programmer with just an undergraduate degree, I constantly wonder if ML is something I should pursue, even while studying it on my own time.
Am I ever gonna be able to call myself a ML expert without graduate degree? Am I just gonna be a workhorse of someone with PhD in ML?
Edit: Thank you SO much for all of your comments and perspective guys.
122
u/ireallylikedogs Apr 16 '16
Being the workhorse of someone with a PhD in ml is a great way to learn. Being the workhorse of most anyone with tons of experience is a great place to be professionally.
→ More replies (3)30
u/jaehoony Apr 16 '16 edited Apr 16 '16
It's great for a while. I'm just worried if I'll be in the same place after 10 years, because I don't have PhD, etc.
54
u/Sluisifer Apr 16 '16
Pretty close to submitting my thesis, I'll leave you with this: don't do a PhD unless you want to do research. If it's just a means to an end, it's going to be miserable and unproductive. Even if it sounds like something you could enjoy, make sure you understand what you're getting into and actually want to do research.
Outside of academia, the utility of a PhD is questionable. You can learn a lot on the job in 5, 6, 7 or more years.
→ More replies (1)8
Apr 16 '16
At least in the UK there seems to be a lot of demand at the moment for people with PhDs in machine learning specifically. I have a PhD in another area of CS and machine learning jobs in both industry and academia have taken over my job alerts, and it's been like this for a few years now.
→ More replies (5)→ More replies (5)10
u/simonw Apr 16 '16
I work for a Bay Area tech company and participate in hiring decisions. A PhD is a data point, but much more important is a proven track record of building and shipping working systems. If you can show that you can build a machine learning system (and describe it convincingly in an interview) then I probably wouldn't even notice the presence or absence of a PhD.
→ More replies (1)30
u/UlyssesSKrunk Apr 16 '16 edited Apr 16 '16
Am I ever gonna be able to call myself ML expert without graduate degree?
Probably not. But the important thing is that even with just a good bit of linear algebra and some calculus, both of which you should have had if you have an undergrad degree you can learn enough to make your own basic neural network, have a deep enough understanding to use and know enough to use properly understand existing ml libraries, and be able to explain the basic methodology and functioning in an understandable manner to non tech people of common implementation schemes and designs used in ml.
3
u/mycall Apr 16 '16
Calculus and neural networks, do explain. How does discrete sums make neurons?
14
u/Sluisifer Apr 16 '16
'Neurons' in ML are just weights that map inputs to outputs. They're just matrices, thus linear algebra.
10
u/IanCal Apr 16 '16
There's usually a non-linear transformation at each neuron though. The heavy lifting is done by multiplying matrices, then some function applied to each neuron (e.g. sigmoid).
→ More replies (6)3
u/nacdog Apr 16 '16
To add onto what someone said about weights:
You use calculus to find the values for the weights which minimize the error of the neural network on some training data because the lower the error, the better your network works. In other words, you take the partial derivatives of the error function with respect to the weights and try to find the error function's minimum value and more importantly, the weights that result in that minimum value.
13
u/kichael Apr 16 '16
What's happening is that there's a lot of ml tools and frameworks being available. So you don't have to start from scratch to solve real problems.
→ More replies (2)6
Apr 16 '16
Machine learning can help solve a bunch of problems which are very difficult to solve using conventional methods.
These problems are now becoming approachable due to recent advances in machine learning. Therefore, there will be a rush to solve those over the next 5 years or so, where the technology is suddenly available. Beyond that, who knows, it may end up remaining popular or not, once the easy problems are solved.
If you like the problem space, understand the techniques and want to work in ML now is the best time ever to get into it more seriously. There are definitely opportunities in the medium term.
We are looking at problem solving in transport logistics through ML at my current job, for example.
8
u/youre_a_firework Apr 16 '16
I think it's a great idea, we are currently in the midst of an ML renaissance. We have incredible hardware these days, and new platforms like TensorFlow are actually able to harness that hardware. ML is starting to accomplish things that academic researchers have been talking about for decades.
As for a higher degree.. depends on what you want. If you want an awesome job with awesome pay and awesome companies fighting to hire you, then no you don't need a fancy degree, just real experience. If you want to continue on in the academic world, or you just want that unquantifiable level of respect and dignity that follows people with a fancy degree, then sure go for it.
3
u/Sluisifer Apr 16 '16
If you're interested in it, check it out for fun. You could certainly find yourself in a situation where you can apply some basic knowledge on a practical problem. With good libraries/frameworks, it just takes a little knowledge to get some fairly powerful results.
Graduate school isn't a magic place where you become an expert. Programming, especially, is a good field for self-study with lots of good material available.
3
u/IsTowel Apr 16 '16
So in practice at a company there are a lot of people who need to understand ML to do a bunch of things like feature engineering. Then there are people who are doing research on not real products and trying more advanced but not currently commercially applicable techniques. We actually need a lot more ML soldiers
3
u/NasenSpray Apr 16 '16
It's also pretty rewarding to pursue ML just as a hobby! I love to tinker around with neural networks in my spare time. Getting a computer to learn how to play a game was a very special experience for me.
3
Apr 16 '16
There will be tons of tasks in many jobs using ML. BAs just need to understand a few principles and use a blackbox.
Then, MS will know how to change things in the blackbox.
PhDs will know how to make new kinds of modules in the blackbox.
-7
u/iforgot120 Apr 16 '16
Yes, most definitely. ML is the future of programming
→ More replies (2)37
u/caedin8 Apr 16 '16
I disagree. I have very real hands on experience with ML problems and solutions. ML is a nice tool for specific problems, but it isn't the future of programming at all. ML is only used to solve for some sets of tasks such as classification, and regression, etc.
ML isn't going to build apps that people interact with every day, it isn't going to create large data pipelines that allow businesses to price deals, it isn't going build software.
ML isn't even good at tasks that aren't repetitive or cyclical. If your future data has no mathematical correlation to your previous data then the best ML program in the world, on the best hardware in the world still can't figure anything out about it.
So what is ML good for? Discovering trends in data, and using those trends to predict future outcomes. This can be a continuous process so that it improves over time.
How is this applied in things like self driving cars? Well you have lots of visual data and you train the algorithms on that data and you build a model that maps to classification rules such as accelerate, decelerate, turn etc. This is possible because driving is an extremely repetitive task: Think about it once you've been driving for about a year you mostly have the hang of it in most weather conditions you are used to. Its easy. It is a good target for machine learning.
What is not easy? Well almost everything that programmers due is not easy. There are cyclical parts of our jobs, but the guts of what we do is writing new logic to solve new problems. This won't change, and ML isn't even capable of addressing these tasks.
→ More replies (11)→ More replies (1)0
Apr 16 '16
[deleted]
→ More replies (1)3
Apr 16 '16
Turn up to an employer with a non-trivial ML app in a Github repo and you're instantly ahead of 95% of candidates.
Does it really work? I am going to land in the US for an MS in Fall, I have experience with scikit,nltk,gensim and am onto spark now, looks like I might give this a try.
25
u/IanCal Apr 16 '16
If you apply for a coding job and can actually code, you're ahead of the majority of applicants I've seen in the past. If I think I can leave you to get on with some code and I'll be able to follow it the next day when it comes to the code review then that's a wonderful point for someone just coming in.
Some major bonus points in some vague kind of order:
Learn how to use version control. Doesn't really matter which one, though git is in vogue
Learn how to do some testing
Learn how the general product lifecycle can work
Understand stats
For machine learning stuff, try and use a dataset you find somewhere yourself. This will teach you about how terrible most actual data is (formats, missing values, unfathomably incorrect information, etc). The majority of my job (data scientist) is working out how to deal with getting data into a decent shape
For data stuff, some understanding of websites, scraping and general HTTP stuff. What are headers, what are the major HTTP methods, what are cookies, etc.
Some basic command line stuff, simple greps, line counts, etc. solve so many problems.
Some kind of data visualisation. Basically anything.
Sounds like you are using python, so I'd recommend (there are other options but these are at least reasonable suggestions):
Git: http://www-cs-students.stanford.edu/~blynn/gitmagic/ also look at some workflows (raising pull requests, etc).
py.test: http://pytest.org/latest/
Look up what agile actually means, and organise your work on trello
Understand what p values are, some distributions, why you should split your datasets up, and generally start being mistrustful of any stat you generate
Lots of government data is openly available and not particularly cleaned
Find a site with a load of info on and scrape it with http://scrapy.org/
Generally just lookup HTTP stuff, try hitting various s
Data viz, play with some charting libraries like google charts. Can go all fancy with D3 and lots of other things but if you can hand someone back a slightly interactive map or chart it makes a huge difference.
→ More replies (4)5
u/Hobofan94 Apr 16 '16
Well I can only tell you my experience with it.
I am on of the original authors of the ML framework Leaf and have gotten multiple job interviews from what I can gather solely from that (it's usually worded as "various open source contributions").
If you're going out on your own applying, keep in mind that it's only attractive to some employers. For example a lot of bigger corporations might not care at all about your open source efforts.
Generally if you have done any significant ML projects in the past (meaning causing a significant impact on KPIs in a company), a lot of companies will rush to recruit you, since now post-"Big Data" they have loads of data, but few people to really put that data to good use.
→ More replies (1)
56
u/kafanaraider Apr 16 '16
This is not bad, but I prefer this Neural Networks and Deep Learning online book. For me it is much easier to follow then video tutorial.
11
u/captainAwesomePants Apr 16 '16
Another cool neural network resource is Google's introductory "Neural Network Playground", which runs a neural network right in your browser: http://playground.tensorflow.org/
2
u/Recoil42 Apr 16 '16
r2d3 is also great for an intro to ML in general: http://www.r2d3.us/visual-intro-to-machine-learning-part-1/
14
u/Ph0X Apr 16 '16
To each their, I personally learn much better with lectures/videos than with books. I went through my entire university life by only attending class and not buying a single textbook.
→ More replies (2)3
Apr 16 '16 edited Apr 16 '16
Although one thing to watch out for is that it (also) uses an outdated version of Python (Python 2.7).
→ More replies (3)1
Apr 17 '16
Neural Networks and Deep Learning
Yeah but you're not most people who need this to be accessible.
167
u/EatDiveFly Apr 16 '16
I have trouble with the name SciKit Learn. Every time he said it, I thought he was saying "Psych Hitler".
(note to self: start a new indie band with that name)
→ More replies (4)6
20
u/shortnamed Apr 16 '16
For those serious about learning ML, consider doing Andrew Ng's Coursera course, this one moves along too slow.
5
u/pilas2000 Apr 16 '16
Is he as enthusiastic as this guy?
Are his teeth as white as this guy?
→ More replies (2)3
19
u/Raknarg Apr 16 '16
Neat. I'd be more interested in videos on the libraries themselves than code you can build woth the libraries.
→ More replies (3)7
u/M_D_K Apr 16 '16
There's a machine learning course on coursera which goes through everything from the ground up.
44
u/doyouevenliff Apr 16 '16
Google makes a tutorial that may be viewed by millions of people, in 2016, and uses python 2...
-15
u/caedin8 Apr 16 '16
I still write Python 2.7. Screw 3+! :)
12
u/doyouevenliff Apr 16 '16
Why? 3 is the future of the language
15
u/caedin8 Apr 16 '16
More support. There are more libraries for what I do (A lot of it ML actually) that are written in 2.7 and are not compatible with 3+.
The only thing that would solidly convince me to change to 3+ is if they removed the GIL, but they've already said they don't plan on ever removing it, so well there you are.
→ More replies (5)
7
u/youre_a_firework Apr 16 '16
Looks great. I recently tried doing Google's TensorFlow based course, but man, the difficulty on that one escalates quickly.
→ More replies (1)
3
u/mutatron Apr 16 '16
Geezer here. Why do so many young people have that sing-song, bored sounding speaking delivery? (And by young, I mean <35.)
Seriously, if you put the speed at 1.5 on this video, you'll hear it, in quasi-musical notation it's like: G5↓E5↓B4↓E4, G5↓E5↓B4↓E4, G↓E↓B↓E. Every sentence fragment starts high and goes low. Sometimes it's like G5G5G5G5↓E5↓B4↓E4.
To my ear, it sounds like when you're in 3rd grade and your teacher is making you present your research paper in front of the class, and you're embarrassed to be in front of people, so you speak each sentence as if it were a major chore that you're not taking seriously. The constantly dropping tone says "Don't make fun of me, I'm not being serious, I'm just reading this stupid report because I have to."
It's endemic to voice overs and speakers on youtube these days. As a counter-example, here's one that doesn't do that. Speed it up to 1.5 and you'll hear that the person sounds like they're telling you something they're interested in telling you.
→ More replies (1)
5
u/apreche Apr 16 '16
I'll definitely check this out. They had a free online course posted elsewhere, and it was just impossible for me to understand, not having done any math since college (where I failed Calculus III 2-3 times).
16
Apr 16 '16
Just to be clear:
The reason you failed Calculus III is because it was too much work for you, not because you are unable to learn it.
With time and effort you can do it. Don't give up!
7
u/apreche Apr 16 '16
I've never worked hard a day in my life, and I'm not about to start now.
10
u/jimjamiscool Apr 16 '16
Then it's probably not surprising you find math tricky.
→ More replies (3)
2
2
2
u/Josso Apr 16 '16
I also recommend Welch Labs’ Neural Network Demystified-series. It get’s into some of the math a tad earlier, while still keeping it basic.
2
Apr 16 '16
Enroll in Andrew's course over at coursera if you want to learn machine learning... these tutorials will teach you sci-kit/tensorflow :D
2
u/GreenFox1505 Apr 16 '16
Why are the labels in a separate variable from the rest of the data? It seems silly since they should always be linked and each part is useless alone.
3
Apr 16 '16
A 5 year old could understand this video ..
3
2
Apr 16 '16
To be fair, they did not teach more than: "you have this library, send this input to it and get that output". It's like teaching me how to do video effects by showing how to use snapchat app.
7
u/wolflarsen Apr 16 '16 edited Apr 16 '16
Nothing against Andrew Ng of CoursEra fame but ... his course's style got stale mid-way.
What language does this Google series use?
Edit: the math may have gotten harder but wasn't as bad as Octave getting as annoying. For me it was the fact I couldn't do this with common programming languages we're using.
Thus why I asked abt Google's language choices. Yes the math is hard but you'll need to understand why you're doing it and it wasn't that much.
However Andrew Ng's approach in his HWs didn't give u any handholding. I'm not interested in octave as much as I was in the topic and the math as well.
49
u/changingminds Apr 16 '16
No it didn't 'got stale'. The math became more than what most can handle.
Every other course I've seen the just tell you to 'use this function for linear regression', 'use that method for naive baiyes', Andrew Ng's course was the only one I've found that took a deeper look at what's actually being done.
16
Apr 16 '16
took a deeper look at what's actually being done.
In ML that matters a lot, you just can't say use this function from scikit or whatever. How you apply some principle changes depending on your data and the end result, most of these "made simple" ML books forget that.
16
Apr 16 '16
You're obviously not going to master machine learning via YouTube. That's not the goal of this series. The goal of this series is to familiarize novices with the basic concepts, which I think it does rather well, all things considered.
8
u/caedin8 Apr 16 '16
Algorithm choice is extremely important to the data set, and the task. Is your data 1,000,000 rows of 4 columns? Or 1,000,000 columns of 4000 rows?
Does this need to run online / offline? Does this need to be responsive to a user?
Is the data linearly separable in its current dimension? Do we need a kernal transformation?
How do we know we are successful? Are we overfitting the old data? Does it generalize well?
What is more important false-positives, or false-negatives? If you are a security company false-negatives will be a missed breach, which is a huge deal. And a false-positive is an accidental warning that is actually not a big deal. Your model should really be tuned to eliminate false-negatives.
Machine learning is complicated, and because it is a buzzword lately it is getting a lot of shitty guides and walkthroughs. This is why firms really only stick to Phds and masters in ML for jobs.
4
Apr 16 '16
because it is a buzzword lately it is getting a lot of shitty guides and walkthroughs.
Who's to blame? VC's(like in the case of cloud computing)? So called tech evangelists?
This is why firms really only stick to Phds and masters in ML for jobs.
Which is always a great idea.
Great write-up btw.
4
u/iforgot120 Apr 16 '16
Does this Google one get into the math? I'm hoping it does.
I had to take a break from Andrew Ng's course to do some really heavy math learning. I still haven't gotten back to it yet.
→ More replies (1)2
6
3
u/MrMinimal Apr 16 '16
I feel like this guy could teach me the world without ever sounding boring. Wow
3
1
u/goddamit_iamwasted Apr 16 '16
This is neural networks dumbed down. Pretty interesting approach. It took me a long time to understand how it actually works. Nifty piece of mathematics. Seems like magic.
1
Apr 16 '16
It's pretty interesting stuff, piqued my interest for sure. Always wanted to learn to code some AI stuff and I think this is my window. Anyway, I really appreciate the cowsay in the .bashrc in this vid :D. I've got cowsay in my .zshrc on my RaspberryPi with fortune piped in so it's always a new random tidbit or joke whenever I restart the shell.
1
u/rasmusdf Apr 16 '16
I can highly recommend this guy and his books. Well written, very interisting: http://machinelearningmastery.com/
1
1
u/DirtAndGrass Apr 16 '16
usually pattern recognition/classifiers is an upper year or grad level cs course, heavily based in algebra and stats.
but, understanding classifiers is mostly looking at (training) sets mapped out (2d sets (2-features) are easy enough to visualize) and figuring out how the separate them, then generalizing the rules to higher dimensions (more than 2 features)
conceptually it is simple, mathematically it van be fairly complex
1
Apr 16 '16
So, this is advertisement or a course on how to use google technologies? Coursera has better (I'm taking it and learn a lot). Udacity does too, but honestly I got confused by their nano-degrees and stuff. They seem to be pushing towards paying customers pretty hard.
1
1
1
1
1
1
u/nightcracker Apr 16 '16
The video was decent, but it seems the guy was staring straight down a gun ready to fire if he ever didn't smile for more than 5 seconds.
1
1
1
u/makeswordcloudsagain Apr 16 '16
Here is a word cloud of every comment in this thread, as of this time: http://i.imgur.com/MhYPzhH.png
1
1
u/kl0nos Apr 16 '16
This video will not teach you machine learning.
This is good to begin with: https://www.coursera.org/learn/machine-learning/
Another thing is that you need to know math behind those ml algorithms or you will overfit etc.
You can read that introduction by andrew karpathy, which implements neural nets in JS, it's VERY GOOD:
http://karpathy.github.io/neuralnets/
If you want to see how deep learning looks like in reality (what ML engineer needs to know to be effective), look at:
1
u/techsin101 Apr 17 '16
good resources, but question what kind of math i'd need to know
statistics,
linear algebra,
multivariabe calculus
1
-61
u/Sun_Kami Apr 16 '16
Because machine learning is trivial. It's like basic statistics, linear algebra, and multi variable calculus. Like freshman shit
14
u/Lord_Aldrich Apr 16 '16
I don't normally engage on this kind of comment, but calling machine learning "basic statistics, linear algebra, and multi variable calculus" demonstrates a fundamental lack of understanding about machine learning. Yes, there are toolkits that make it easy to leverage the popular algorithms, but understanding what is actually going on well enough to innovate on or extend those algorithms is another thing entirely.
-26
u/Sun_Kami Apr 16 '16
I don't know machine learning, but I know it's trivial and not even worth my time in learning
11
9
u/Cruces13 Apr 16 '16
Then why is it a graduate program in university?
-21
u/Sun_Kami Apr 16 '16
What do you mean? It's got its applications, a lot of them, and important ones.
But the fact that you can learn it via a video is emphatically why it's trivial. It's nonsense
8
u/iforgot120 Apr 16 '16
Um I don't think youve ever done real machine learning if that's what you think of it.
It's not just linear regressions and basic clustering This video is to ML what learning the alphabet is to James Joyce writing Ulysses.
2
Apr 16 '16
Are you a programmer?
-1
u/Sun_Kami Apr 16 '16
Not by choice. It's just so easy I gotta do what I gotta do to make a living.
I wasn't ambition enough to get my PhD in mathematics.
2
0
Apr 16 '16
[deleted]
3
u/Zarpar Apr 16 '16
You're right that a large dataset makes the process easier, but innovations come from the way in which the ML classifiers are structured and finding parameters that are most suitable for the problem.
0
Apr 15 '16
[deleted]
21
u/damontoo Apr 16 '16
It's the first episode and is intended for people with basic programming knowledge. I'm sure it will advance in complexity as it moves forward. The end of the series will deal with using Google's machine learning cloud services to solve complex problems.
19
u/tadpole256 Apr 16 '16
Perhaps you are not familiar with the concept of an "introduction"...
-17
Apr 16 '16
Introductions can be bad if they introduce too little.
4
u/bjwest Apr 16 '16
This can be said even more for introducing too much in an introduction. Too much and you can scare off the ones you're trying to reach. I can imagine high schoolers, or maybe even middle schoolers watching these and saying "hey! I understand this. It may be something to look into further". Next thing you know, we have the developer of the AI that defeats Skynet.
→ More replies (2)1
u/tadpole256 Apr 16 '16
Yes, but this is not an example of that. This is a perfectly portioned intro. It is exactly enough to get a newb interested and wanting more.
11
u/Bumperpegasus Apr 16 '16
He said a few times that they would take a deeper look on a bunch of things in a later episode
-21
u/google_you Apr 16 '16
In the future, I'm gonna be the richest man in the galaxy.
And, you can totally say that I'm not rich at all now.
1
u/Bumperpegasus Apr 16 '16
That's a stupid argument. This is a video series. Already on ep. 2 they take a deeper look at how decision tree is structured. I'm sure pruning and entropy will be covered later too.
What kind of level of detail did you expect from one episode exactly?
9
2
u/balegdah Apr 16 '16 edited Apr 16 '16
Not long ago, when you were a beginner in machine learning, you found a lesson at a similar level helpful. You just forgot.
Don't forget what it took you to reach your current level of understanding.
1
-1
u/Anarcie Apr 16 '16
With this level of snark, in going to guess your a ruby dev? Ruby or node.
0
Apr 16 '16
[deleted]
1
u/bjwest Apr 16 '16
I mostly do Python dev, webapps + data mining and machine learning stuff.
Yeah, you've already been introduced so of course this is too basic for you.
-3
Apr 16 '16
[removed] — view removed comment
6
u/PLLOOOOOP Apr 16 '16
What ignorance and pretentiousness? Am I not looking at the same comments page as you?
0
726
u/LeeHyori Apr 16 '16
Today we're going to be learning about machine learning. So, let's import this machine learning library and use it.