r/programming • • 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=cKxRvEZd3Mw
4.5k Upvotes

357 comments sorted by

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.

265

u/lowleveldata Apr 16 '16

it's more like about how to "use" machine learning

24

u/foxh8er Apr 16 '16

I don't think that's a bad thing.

7

u/Chobeat Apr 17 '16

but it's pretty much useless. The hard and useful part of ML techniques is not in the algorithms that you can implement in a library.

→ More replies (8)
→ More replies (4)

214

u/-___-_-_-- Apr 16 '16

It's funny how he says "from scratch" and then seconds after tells us about those libraries

→ More replies (18)

145

u/Denvildaste Apr 16 '16

Its a good start though, I'm an experienced programmer who has never been exposed to machine learning before.

Now I could either approach this by learning tons of theory and implementing my own algorithms before I can see any results, or I can see a general demonstration of what machine learning is capable of and try different things on my own before I dive into theory.

Personally it's much easier for me to learn something when I know what the end goal is rather than having a vague picture of where I'm going to.

8

u/wretcheddawn Apr 16 '16

Knowing how something works is the key to using it effectively and efficiently, though. There are lots of programmers who never take any effort to understand how the libraries do things and write terribly inefficient code that someone else will have to rewrite eventually. Will it work? Sure. Will it work fast and reliably? Probably not.

I've seen someone load an entire data table just to change one value and write the whole thing back. Yes, it technically did the job, and worked, for years until the table became several gigabytes and it started timing out.

On the other extreme, you shouldn't be rewriting libraries either, but knowing how it works is the key to using it well.

8

u/random_actuary Apr 16 '16

If you're not going to learn tons of theory, you will have to work with someone who has.

63

u/Denvildaste Apr 16 '16

Don't get me wrong, you need to learn theory. All I'm saying is it's nice to see a demonstration of what you are going to be learning before you start.

29

u/[deleted] Apr 16 '16

Fine, but programmers need to understand how the human brain learns. If you had some uncontacted tribesman who didn't understand what a car was and you wanted to train him to be a mechanic, would you start by explaining the technical concepts of a fuel pump or an internal combustion engine? I would hope not. The first thing you'd do would be to put him in the passenger seat of a car and drive him around a bit, and then slowly introduce technical concepts by example. This is like when I want to use some UNIX program and when I Google it I can get 10 pages of details on flags. No, I want to start with a brief sentence or two and then 3 basic examples.

→ More replies (1)
→ More replies (2)

5

u/[deleted] Apr 16 '16

Also, reinventing the wheel is stupid. Unless you want to join a team trying to compete with Google's team (or join Google's team itself), or you're just curious and doing it for the learnings, there just isn't much of a reason to do it "from scratch" and spend so much time learning theory.

15

u/ABaseDePopopopop Apr 16 '16

Personally I think that if you're going to use it for anything serious, you need to have a rough idea of what's going on under the hood. Otherwise you won't know about the hypotheses you are actually implying for instance.

In mechanical engineering, we use a lot of finite element modelling. And anyone with a bit of experience will tell you that you should not use it without knowing what's going on in the solver at least on the principle. Otherwise you're going to make big mistakes and not see it. That's true for any kind of computation.

However I think this video is a really good beginning for an introduction to the topic. Show what it's capable of, what using it is like, instead of diving straight into theory. That's pretty good; I'll be watching the following ones.

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

118

u/[deleted] Apr 16 '16

First, enter your credit card on Google Wallet. Then go to our API website. Enter your data. Press pay. Wait. You did machine learning!

52

u/TenshiS Apr 16 '16

Now you've learned not to trust machines! Congratulations!

→ More replies (7)

45

u/ElvishJerricco Apr 16 '16

To be fair, it's a foundational exercise. They're just trying to explain what's going on with ML in the first two videos. Dunno if they'll go deeper, but I think it's a good idea to start with how it's used.

It's like if you wanted to understand how printf worked on every level. You have to start by showing all the many things printf can do before you get into how syscalls make things show up on the terminal.

6

u/withabeard Apr 16 '16

I don't have a problem with it being a good learning exercise. But don't call it "from scratch". When you're learning to bolt libraries together, learn that's what you're doing. Then learn to dig into and modify those libraries. Then learn how to dig deeper. Then learn how to write the library.

But, being told from day one "you're doing it from scratch" gives naive people a false sense of achievement. Instead of learning they have used a library to be successful, they've learned they can do this from scratch. This is a great way to teach people to fall into the Dunning-Kruger effect.

→ More replies (3)

9

u/gliph Apr 16 '16

I think they're working backward. They go high level and then low level. That's the impression I got from another video about the series.

27

u/Whazor Apr 16 '16

Man, you must know how I felt when I found out you can just use libraries instead of learning all those algorithms.

In essence you are always training and predicting, so every algorithm has the algo.train(train_data, truth) and algo.predict(test_data) methods. It is more important to know how to validate the results than to know how the algorithm works.

95

u/dunerocks Apr 16 '16

I think that attitude is what has gotten a lot of programmers into a great deal of difficulty when they hit walls. When that happens, you are now at the mercy of other people's explanations of what's going on. If you strive to be a good engineer, I think this attitude is harmful.

69

u/[deleted] Apr 16 '16

No engineer(in software or otherwise) has the bandwidth to understand every component they are working with. Arguably, it's more important to understand implementation as an engineer, since your job is to make something that works. Understanding precisely how it works is not the primary concern.

→ More replies (3)

24

u/Skyfoot Apr 16 '16

Unless you implement everything from scratch, starting with a transistor, you are always at the mercy of other people's understanding. This is what is meant by "standing on the shoulders of giants".

→ More replies (4)

27

u/idevelop Apr 16 '16

meh, you have to draw the abstraction line somewhere and people mostly optimize for efficiency. there's great value in being able to move fast with a 90% chance you'll never run into any issues.

→ More replies (18)

4

u/greenspans Apr 16 '16

Just look at the javascript or ruby community. It's framework-oriented programming, and it's disgusting.

→ More replies (15)

14

u/sphyngid Apr 16 '16

It is more important to know how to validate the results than to know how the algorithm works.

I understand what you're saying, but that doesn't work for me. It's just a magical black box if you don't know (at least approximately) how the algorithm works, and it's hard to know that you're validating correctly, whether your problem might be a pathological case, etc.

Aside from that, I think I get more enjoyment from understanding algorithms than I do from using them. That first time you get a clever idea you've implemented to work (even if it's someone else's clever idea) is pretty awesome. Using them is too often pushing a button and the machine pops out a widget.

I realize that we're all end-users of lots of things, though, and I'm not trying to downplay the importance of validation.

→ More replies (8)

3

u/bizziboi Apr 16 '16

Knowing how the algorithm works might help you understand what leads to the invalid results and how to modify your inputs to improve the output. Black boxes have little practical use in science - if they're your core tool, that is.

→ More replies (8)

2

u/[deleted] Apr 16 '16

They cover it in later episodes

2

u/staticassert Apr 16 '16

He explicitly states that they'll be discussing algorithm implementations and this is only meant to be an introduction to show you what you can do at a high level.

2

u/[deleted] Apr 16 '16

Exactly. How to make video effects? Let's demonstrate with snap chat.

-3

u/Kollektiv Apr 16 '16

This sentence describes 90% of all machine learning master degree graduates.

They don't know how these algorithms work besides importing the ones that were already written in a library and tweaking the parameters.

43

u/oreng Apr 16 '16

You seem to be surrounded by graduates of really shitty masters programs.

→ More replies (3)
→ More replies (5)

291

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

u/[deleted] 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

u/[deleted] Apr 16 '16

I'd be weirdly happy if I was making bank at such a reputable company too. Js

10

u/spin_the_baby Apr 16 '16

Or Mormons.

3

u/GreenFox1505 Apr 16 '16

I felt like his smiles where a bit much...

2

u/[deleted] Apr 16 '16

they know

→ More replies (7)

100

u/ConfirmsEverything Apr 16 '16

The second part of the series has also been released 3 days ago: https://youtu.be/tNa99PG8hR8

29

u/ArghNoNo Apr 16 '16

Hello Iris dataset, my old friend.

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.

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.

8

u/[deleted] 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 (1)

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)
→ More replies (5)
→ More replies (3)

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).

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.

→ More replies (6)

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

u/[deleted] 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

u/[deleted] 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

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 (2)

0

u/[deleted] Apr 16 '16

[deleted]

3

u/[deleted] 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)
→ More replies (1)
→ 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

u/[deleted] 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

u/[deleted] 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)

6

u/look_at_the_sun Apr 16 '16

You can open for Viet Cong

→ More replies (4)

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?

3

u/tripa Apr 16 '16

Don't remember his teeth, but he is very enthusiastic.

→ More replies (2)

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.

7

u/M_D_K Apr 16 '16

There's a machine learning course on coursera which goes through everything from the ground up.

→ More replies (3)

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

u/[deleted] 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

u/[deleted] Apr 16 '16

ofc you understand it, it's the introduction video and they're trying to make it fun

2

u/tjosti Apr 16 '16

So captchas can be bypassed easy nowadays?

3

u/[deleted] Apr 16 '16

The ones that mention weight and texture of the object.

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

u/[deleted] 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

u/[deleted] Apr 16 '16

A 5 year old could understand this video ..

3

u/[deleted] Apr 16 '16

Can anyone find a child of five?

2

u/[deleted] 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

u/[deleted] 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

u/[deleted] 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

u/[deleted] 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

u/wolflarsen Apr 16 '16

The math? Hmm not so much.

Octave? Yes

6

u/[deleted] Apr 16 '16 edited Apr 16 '16

looks like python

3

u/MrMinimal Apr 16 '16

I feel like this guy could teach me the world without ever sounding boring. Wow

3

u/meygaera Apr 16 '16

That's great and all, but cmon we're comparing apples to oranges here.

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

u/[deleted] 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

u/roemerb Apr 16 '16

This guy's facial expressions are hella scary though

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

u/[deleted] 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

u/rexmortus Apr 16 '16

Thanks for turning me on to this. It was helpful.

1

u/8-bit-eyes Apr 16 '16

Good video, but he smiles too much.

1

u/pilas2000 Apr 16 '16

Go to Google and ask for what this guy had...

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

u/[deleted] Apr 17 '16

This is something I can send my parents or girlfriend.

1

u/[deleted] Apr 17 '16

Everything i know about machine learning, i learned from chat bots.

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


[source ^code] [contact ^developer] [request word ^cloud]

1

u/peduxe Apr 16 '16

this is pretty cool. is there any Tensorflow for nodejs out?

8

u/ric2b Apr 16 '16

No, they're still working on the implementation of right pad

→ More replies (3)

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:

http://neuralnetworksanddeeplearning.com/

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

u/kl0nos Apr 17 '16 edited May 15 '16

algebra

-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

u/Lord_Aldrich Apr 16 '16

Ah. So you're a troll then. Have a nice day.

→ More replies (5)

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

u/[deleted] 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

u/[deleted] Apr 16 '16

What do you do? Like what languages do you use, what kind of software, etc?

0

u/[deleted] 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

u/[deleted] 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

u/[deleted] 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.

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.

→ More replies (2)

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

u/[deleted] Apr 16 '16

Can't all have 5 Phd's like you sorry :(

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

u/slapded Apr 16 '16

Tell me more..

-2

u/[deleted] Apr 16 '16

no

-1

u/Anarcie Apr 16 '16

With this level of snark, in going to guess your a ruby dev? Ruby or node.

0

u/[deleted] 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

u/[deleted] 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

u/BlackHumor Apr 16 '16

It's actually infested by spambots.