Learning to See [Part 10: World Domination]

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • In this series, we'll explore the complex landscape of machine learning and artificial intelligence through one example from the field of computer vision: using a decision tree to count the number of fingers in an image. It's gonna be crazy.
    Supporting Code: github.com/ste...
    welchlabs.com
    @welchlabs

КОМЕНТАРІ • 183

  • @alvarol.martinez5230
    @alvarol.martinez5230 7 років тому +104

    This is some of the best content on the internet, if only it was a team making the videos instead of one person! We need more of this stuff

  • @SuperSlimeBoy
    @SuperSlimeBoy 7 років тому +67

    This channel is so good. It feels wrong not paying for something this well made!

  • @josepiccinini5891
    @josepiccinini5891 7 років тому +23

    The coffee part was so satisfying.

  • @barellevy6030
    @barellevy6030 7 років тому +33

    It is amazing to think that you are able to do this videos alone once every 2 weeks.
    Thank you very much for this amazing content!

  • @6infinity8
    @6infinity8 7 років тому +91

    Will it generalize? :D

    • @alexsere3061
      @alexsere3061 7 років тому

      6infinity8 Because it is not specific to the data set, please watch the whole series

    • @6infinity8
      @6infinity8 7 років тому +14

      I follow the series since its begining, I was just laughing at the crowd's voice he added ^^.

    • @alexsere3061
      @alexsere3061 7 років тому +2

      6infinity8 Oh, sorry, I missread Why will it generalize?XD
      sorry

    • @starbeta8603
      @starbeta8603 7 років тому +3

      It scared the living daylights out of me lol

    • @RifqiPriyo
      @RifqiPriyo 7 років тому +1

      Yeah, this makes me shocked. 3:40

  • @umnikos
    @umnikos 7 років тому +17

    I just saw the thumbnail and my primal insticts told me to click as fast as I could

  • @whywhyhk
    @whywhyhk 7 років тому +18

    Hey Welch Labs, what is the outro music? Really love the groove!

  • @rooneyrokks
    @rooneyrokks 3 роки тому

    Professor I have become such a big fan of your videos I can not describe. Great content and such profound knowledge!! Thank you for this. Currently attending the CV class at UNCC under you.

  • @fhd21
    @fhd21 7 років тому +1

    wow! for such a specialised topic you're visual editing is on point! thank you.

  • @claradenken
    @claradenken 4 роки тому

    Studying for my Machine Learning test, although it's a great topic and really interesting I'm ready for the holidays ... the "WILL IT GENERALIZE?" cracked me up. Needed this, thanks :)

  • @Arezzy17
    @Arezzy17 7 років тому

    This is probably the best put together series I have ever seen on UA-cam. The quality is so high, but the videos don't take forever to come out. Keep it up!

  • @jmckinney0040
    @jmckinney0040 7 років тому

    Noooo!!! I have to wait? Just watched all videos on this channel and didn't realize that he was not done with the current series! This channel is soooo good! Its like waiting for the next book in a series. Seriously, he has really covered three topics that I have wanted to know more about. thank you so much and I know that the videos coming in the future will be well worth the wait!

    • @WelchLabsVideo
      @WelchLabsVideo  7 років тому

      Working on parts 11 and 12 now! Thanks for watching!

  • @AashishKumar1
    @AashishKumar1 7 років тому +10

    Welch labs is the best youtube channel on the planet.Amazing talent and creativity. (Read in Trump voice)

  • @vannak139
    @vannak139 7 років тому

    I was running off of a batteryless, screenless, keyboardless, laptop with a broken trackpad that couldn't even boot windows because the integrated graphics chip had gotten fried.
    Then I fell in love with machine learning, and after buying my rig I came to realize I had learned to love myself as well. I did buy a Gaming PC, bro. Best decision ever.

  • @a.stanisz
    @a.stanisz 7 років тому

    The series is awesome. I'm happy I've ran into that. I'm little lost so far but will handle it eventually! Thx!

  • @IslandRai
    @IslandRai 7 років тому

    One of my favorite channels. This series is as much of an introduction to Machine Learning as it is one to Computer Vision.

  • @AntimonidTriniobu
    @AntimonidTriniobu 7 років тому +13

    it wouldn't be a Welch Labs video if it didn't end with a cliffhanger ;)

  • @vhateg
    @vhateg 7 років тому +8

    This channel is awesome

  • @bfournier1884
    @bfournier1884 7 років тому +1

    You are really good at this. Keep on producing such high quality content !

  • @aBigBadWolf
    @aBigBadWolf 7 років тому

    this series is getting better and better!

  • @thetabiiii
    @thetabiiii Рік тому

    bro , you Lionel Messi of Machine learning!! You are the G.O.A.T! I have been struggling understanding these fundamental concepts for almost a year! But you just....I AM JUST VERY EMOTIONAL RIGHT NOW, I JUST WATChED TILL THIS EPISODE IN ONE SINGLE SESSION AND I AM GONNA FINISH IT TONOGHT

  • @derekdai9327
    @derekdai9327 7 років тому

    QUick! We have to conquer the world with machine learning before anyone else watches this series!

  • @TheFilip43
    @TheFilip43 7 років тому

    Another great video, I took an excellent a bit more mathematical course at my uni in Cambridge, but this explains a bigger picture much better, since we just jumped into Neural Networks straight away. I am looking forward for next video and more importantly code for the videos already in this playlist. I learn the best when I code with you at the same time. Keep up the good work.

    • @WelchLabsVideo
      @WelchLabsVideo  7 років тому

      Thanks for watching - I'm working on getting the code out soon!

  • @WateryIce54321
    @WateryIce54321 7 років тому

    The quality of your content is ridiculously high, thank you :)

  • @gabrieldavidrodriguezchaco9266
    @gabrieldavidrodriguezchaco9266 7 років тому +20

    That's some good coffee : )

  • @cooltv2776
    @cooltv2776 7 років тому

    dang it, I was just starting to feel like it was time for another one of your videos and was getting excited. now I have to wait AGAIN for the next one

  • @dariomoehrke7907
    @dariomoehrke7907 7 років тому +4

    Great video! What music did you use in the outro?

  • @RazinShaikh
    @RazinShaikh 7 років тому

    This channel needs much more views

  • @celo7531
    @celo7531 7 років тому +2

    Thank you for making these videos. they're amazing :)

  • @TmmLogo
    @TmmLogo 7 років тому

    You are an amazing UA-camr, I'm subscribed to you for quite some time and your videos are both funny, interesting, informative and well made.
    You deserve much more subs and views!

  • @mama44402
    @mama44402 7 років тому

    Always pleasant to watch your videos, keep going !

  • @RyanBissell
    @RyanBissell 7 років тому +4

    "You are a bigger tease than a"

  • @evyatarbaranga5624
    @evyatarbaranga5624 7 років тому

    yay! finally generalizing!!!!
    keep up the good work!!!

  • @lorykilling
    @lorykilling 7 років тому +4

    I realy like your videos! but I'd propose a small change: can you make the bottom right corner funny sentences more readable? the youtube buttons are over them :)

  • @moladan
    @moladan 7 років тому +1

    There are 81 choose 4 ways to choose the pixels and 2^4 ways to check if they are true or false. By that way there are 26619840 ways to choose a rule. Since there are also about 5000 squares you have to check for each rule, the final number of operations the computer has to do is about 133 099 200 000 operations, which is a lot of operations. Especially for ugly code written in a slow language like python.

    • @BinaryHistory
      @BinaryHistory 7 років тому

      It is using numpy though, so perhaps it is not dramatically slowed down by Python's sluggishness.

  • @jellyfishjelly1941
    @jellyfishjelly1941 7 років тому

    Now I've had to make a coffee...
    and it's 6 pm...
    so I won't sleep till 6 am...
    really thanks alot!

  • @JuliusDerzocker
    @JuliusDerzocker 7 років тому +4

    Can you put your little sidenotes a bit upwards? So one can pause the video and read them without the bar in the way.

  • @whywhyhk
    @whywhyhk 7 років тому

    Hell yea another exciting video from Welch Labs! We'll build a robot to dominate the world which identifies coffee and drinks all of it!

  • @MattJonesYT
    @MattJonesYT 7 років тому

    Amazing series!!! Looking forward to part 11!!!!!

  • @iustinianconstantinescu5498
    @iustinianconstantinescu5498 7 років тому +1

    The 3-pixel based algorithm is like that , with its 2 edge-detecting pixels at different heights, because you showed it right hands images, with fingers slightly sloped NNE(up-up-right) at an average of about 15°.

  • @Kram1032
    @Kram1032 7 років тому +4

    Why would you ever do succinct series? This one is awesome!

  • @badtyprr
    @badtyprr 6 років тому

    I died at the coffee and "Bro, maybe you should get a gaming PC?"

  • @VulpeculaJoy
    @VulpeculaJoy 7 років тому

    Why not use a CNN - aka: a Convolutional Neural Network with certain combinations of kernels that stack up to fully connected layers and then train the whole thing with Backtracing Algorithms, or is this what this series is going for? If so this would be the first time I actually got someone to explain to me every aspect of it and the reasoning and necessary steps behind it.
    So keep up the good work and hurry up please, because I never felt so excited to get to learn more about machine learning.

  • @NikolajLepka
    @NikolajLepka 7 років тому +6

    notification squad!!

  • @tarberd
    @tarberd 7 років тому +1

    Your vids are class man ! keep on :D

  • @paedrufernando2351
    @paedrufernando2351 Рік тому

    Generalize means Empherically if the accuracy and precision and recall is a x percentage on train data , the same metric should be on test data also

  • @paedrufernando2351
    @paedrufernando2351 Рік тому

    Bais is when we are puttin our faith on selected pixel value and trying to get the rule selected.. variance is when we are making more varied rules..however the desied to moved from bia towards variance and find the optimum is motivated by the fact of emperical evidence that when we try to get the prceision and varaince from one pixel rule to 2 pixel rules or more.the confusion matrix's metrrics give u more postitve resutls..and hence we try to strike the equilibrium. Also may be the metrics of 65 percentag is sought after @5:14 when we try becasue a normal distribution 68% of data lies near mean(i.e we are achieveing aorund mean)

  • @zakzennii8905
    @zakzennii8905 7 років тому

    Coffee outtro for the win. Awesome kettle, BTW. :P

  • @DiogoVKersting
    @DiogoVKersting 7 років тому

    I think your lessons are brilliant!
    If only content was presented in such a clear and intuitive way when I was in college/school!
    Is there anything I can do to help your channel grow?

    • @WelchLabsVideo
      @WelchLabsVideo  7 років тому +2

      Thanks for watching and for the kind words! Stay tuned for a Patreon campaign later this year.

  • @michelefornaroli2178
    @michelefornaroli2178 4 роки тому

    amazing series! i love it so far, thank you for spreading knowledge :D

  • @Thejosiphas
    @Thejosiphas 7 років тому

    aesthetically pleasing af

  • @olegtarasovrodionov
    @olegtarasovrodionov 4 роки тому

    0:50 no! a=0 and b=1 is same as a=1 and b=0 is you switch the X's
    5:58 same, you only need the amount of 1's! no need to check each binary combination like 0101 or 1011

  • @Dan48001
    @Dan48001 7 років тому

    Wonderful video, same as always!

  • @iwakeupsad
    @iwakeupsad 7 років тому

    You're my favourite human right now :)

  • @rafaelribas1027
    @rafaelribas1027 7 років тому

    This may be covered in future episodes, but... if the machine is "learning", why do we go back to scanning through all the rules all the time? If we assume the previous 3-pixel solution is a good baseline, we only need to test the rules that contain those 3 pixels and one of the other 78. Surely that would be much quicker?

  • @tekPwnable
    @tekPwnable 7 років тому

    second video i ever liked on youtube :)

  • @DaysNightsTeam
    @DaysNightsTeam 7 років тому

    I'm waiting for that *efing* succint series!

  • @electromorphous
    @electromorphous 7 років тому

    What the hell bro. I lost u like, a septillion videos ago and its still this series. Where the hell r u going with this?!?!

  • @vazixLT
    @vazixLT 7 років тому +1

    Outro music/song:
    www.premiumbeat.com/royalty_free_music/songs/what-s-the-matter

    • @cptnoremac
      @cptnoremac 3 роки тому

      Thank you. For some reason he refused to tell anyone what it was, so you're the real hero here.

  • @comelypepper
    @comelypepper 7 років тому +1

    Where is the music in the end from? it sounds beautiful!

  • @FutureAIDev2015
    @FutureAIDev2015 Рік тому

    Maybe I should try making my coffee the way you make your coffee, by pouring the beans into a filter, then pouring hot water over them instead of running it through my coffee maker. Or, since that's pretty much what the coffee maker does, never mind LOL

  • @eduardomanrique400
    @eduardomanrique400 7 років тому

    Oh god, I can't wait 2 more weeks! 😩

  • @canteatpi
    @canteatpi 7 років тому +1

    That's a lot of work for one cup of coffee, but I'm sure, it taste awesome

  • @brikilian7834
    @brikilian7834 7 років тому

    Now I really want to see the training set, and scribble this in PyOpenCL...and I hate Python. But it does look much nicer on screen than my C usually does.

  • @__gavin__
    @__gavin__ 7 років тому

    There are 2^4*(81C4)=26,619,840 possible rules with 4 pixels, 39 times as many as with 3 pixels.

  • @OmarMiranda
    @OmarMiranda 7 років тому +1

    Wow, a data and coffee lover! nice! why didn't you time the brew?

  • @catiscar8981
    @catiscar8981 7 років тому +4

    "A lot of you are really freaking smart." Well there's the people that watch this and understand it, and then there's the rest, the guys and girls that watch in hope of getting something to know, for once.

  • @non-pe8xn
    @non-pe8xn 7 років тому

    it's so slow because it's exponential right ? Bc the 1 pixel one was to the power of 1 and the 2 pixels one was to the power of two (squared) etc...

  • @olegtarasovrodionov
    @olegtarasovrodionov 7 років тому +1

    I know, why it slow. There are 26,619,840 possible 4-pixel rules. That's 39 times more than 3-pixel rules, and over 2000 times more than 2-pixel rules.

    • @darwinkim1504
      @darwinkim1504 7 років тому

      If the fundamental problem was that it was 39 times faster, the comment that "the 1, 2, and 3 pixel rules didn't tank anywhere near this long" assuming "this long" referring to 37 seconds would have given an upper limit of 37*39=1443 seconds with an average of 14.43 seconds per 1%, assuming the algorithm was efficient.

  • @ASLUHLUHC3
    @ASLUHLUHC3 5 років тому +1

    I fucking love this guy

  • @usmanilyas786
    @usmanilyas786 7 років тому

    waiting for next video!

  • @wagbagsag
    @wagbagsag 7 років тому

    Fantastic video as always! Could anyone tell me what the song at the end of the video is?

  • @esra_erimez
    @esra_erimez 7 років тому

    You're awesome!

  • @rickyleung5890
    @rickyleung5890 7 років тому +3

    why don't you write this:
    for i2 in range(2):
    for j2 in range(2):
    for k2 in range(2):
    for l2 in range(2):
    yHat = np.logical_and(np.logical_and(np.logical_and(trainX[:,i] == i2,trainX[:,j]==j2),trainX[:,k]==k2),trainX[:,l]==l2)
    #btw,i really like the imaginary numbers are real series

    • @WelchLabsVideo
      @WelchLabsVideo  7 років тому +5

      Good question! Using nested for loops actually results in searching redundant rules - using itertools allows us to avoid these.

  • @robertsyrett1992
    @robertsyrett1992 6 років тому

    You have one of the nicest hot water kettles I have ever seen.

  • @swapnayak4348
    @swapnayak4348 5 років тому

    1:15 why only 1 winner?
    There could be more like a right edge detector.

  • @Buoy2
    @Buoy2 7 років тому

    wow I didn't know machine learning had my jam in it

  • @turun_ambartanen
    @turun_ambartanen 7 років тому

    5:43 I'm like "well that's not too bad. like 70 minutes at most"
    I have had way worse runtimes. e.g. creating a 3000x3000 numberphile sandpile pixel image. or reading bytes one by one from the hard drive (I fixed it very soon).

  • @samstenner1898
    @samstenner1898 7 років тому

    Fantastic! What was the song at the end?

  • @NikolajLepka
    @NikolajLepka 7 років тому +10

    you should parallelise your algorithm, would make it go faster

    • @asdfjkloe
      @asdfjkloe 7 років тому +9

      It won't solve the fundamental problem with the algorithm's time complexity though.

    • @NikolajLepka
      @NikolajLepka 7 років тому

      asdf that completely depends on whether or not a non-bruteforce solution can be found to the problem

    • @asdfjkloe
      @asdfjkloe 7 років тому +3

      Maybe the brute force part can be optimized somehow. All i was saying was that 1v4 cores won't make much of a difference when switching to the next level of variance. Besides, if code optimization was a key issue, why not write the entire thing in c++?

    • @NikolajLepka
      @NikolajLepka 7 років тому

      asdf execution speed is just going to be a polynomial factor, in the grand scheme of things, a fast language running a slow algorithm will always be beaten by a slow language running a fast algorithm 100% of the time

    • @MichaelFortner1989
      @MichaelFortner1989 7 років тому +1

      Nikolaj, the language-based execution time thing was clearly tangential to asdf's point about the time complexity of the algorithm itself. Parallelism is also a polynomial speed-up, so by analogy to your own argument it won't make the algorithm fundamentally faster.

  • @Rrrr45569
    @Rrrr45569 7 років тому

    If I may ask, what software did you use to make the lovely diagrams and tables?

  • @ryanmurray5973
    @ryanmurray5973 7 років тому +2

    It'll take about an hour.

  • @matthewgoss616
    @matthewgoss616 7 років тому

    The function of possible rules given our X pixel rule.
    F(x)=2^x (81 choose x) that is our problem.
    This is a very exponential function.
    So, How do we fix this?

  • @gtalckmin
    @gtalckmin 7 років тому +1

    Hi,
    Could you share the ipython notebooks/code?

  • @sirelkir
    @sirelkir 4 роки тому

    That's why ML people so often have incredibly sophisticated coffee habits. They have all the time they need for that while their code is running.
    PS this also predicts only the moderately bad programmers should have these

  • @koechrodge3241
    @koechrodge3241 7 років тому

    The suspense is killing me... WILL IT GENERALIZE?

  • @DesiCochraneOnline
    @DesiCochraneOnline 7 років тому

    This is fucking awesome.

  • @YashvirSingh0
    @YashvirSingh0 6 років тому

    That should be 2^4*(81Choose2) rules, isn't it?

  • @edralone20
    @edralone20 6 років тому

    3:40 people picking out stereotypes

  • @vuvffufg
    @vuvffufg 7 років тому

    Are you that precise with every cup of coffee?

    • @WelchLabsVideo
      @WelchLabsVideo  7 років тому +1

      Hahaha nope. Just trying to look like I knew what i was doing.

  • @tanchienhao
    @tanchienhao 7 років тому

    please do a calculus series too! :D

    • @WelchLabsVideo
      @WelchLabsVideo  7 років тому

      I think 3blue1brown is about to come out with a really good calculus series!

    • @tanchienhao
      @tanchienhao 7 років тому

      Welch Labs i also subscribe to him! Thanks!! keep up the really nice animations too (i watched your complex numbers series about 3 to 4 times :D)

  • @soufianeouhajji6182
    @soufianeouhajji6182 7 років тому

    if i may ask, what is the name of the ending song ?

  • @abhisheksingh-li6zo
    @abhisheksingh-li6zo 7 років тому

    why you not pouring water at once..?instead of pouting small small quantity..

  • @offchan
    @offchan 7 років тому

    I T W I L L G E N E R A L I Z E !
    3:42

  • @claradenken
    @claradenken 4 роки тому

    Although you are bitching about your not-succinct series, I think it's quite succinct since the episodes are, and you can pause and ponder in between the episodes (and during the episodes, I hit pause during an episode a thousand times, since it's so short and succinct, maybe also because I'm tired..) :)

  • @jvcmarc
    @jvcmarc 5 років тому

    what's that song at the end?

  • @PerfectorZY
    @PerfectorZY 6 років тому

    Outro song?

  • @atharvas4399
    @atharvas4399 7 років тому

    Please please please next: Speech Recognition

    • @WelchLabsVideo
      @WelchLabsVideo  7 років тому

      Sounds fun! But gosh, how many freaking episodes would that take me..."Last time, in part 234..."

    • @want-diversecontent3887
      @want-diversecontent3887 7 років тому

      Welch Labs
      Maybe combine related episodes next to each other into one.

  • @dhirom1789
    @dhirom1789 7 років тому

    You used python?

  • @jamesbarfield2158
    @jamesbarfield2158 7 років тому

    You make videos on the Internet?