13. Classification

Sdílet
Vložit
  • čas přidán 18. 05. 2017
  • MIT 6.0002 Introduction to Computational Thinking and Data Science, Fall 2016
    View the complete course: ocw.mit.edu/6-0002F16
    Instructor: John Guttag
    Prof. Guttag introduces supervised learning with nearest neighbor classification using feature scaling and decision trees.
    License: Creative Commons BY-NC-SA
    More information at ocw.mit.edu/terms
    More courses at ocw.mit.edu

Komentáře • 48

  • @MrCatandMe
    @MrCatandMe Před 6 lety +86

    Watching MIT OpenCourseWare videos identifies how completely lacking in substance my college education really was.

  • @leixun
    @leixun Před 3 lety +40

    *My takeaways:*
    1. Nearest neighbours 4:18
    2. K-nearest neighbours 8:11
    3. Performance metrics 16:50
    4. logistic regression 30:20

  • @avelmira
    @avelmira Před 4 lety +4

    An unintended consequence of learning the difference between linear and logistic regression from Prof. Guttag in this video: the scene from The Princess Bride intrusively popped in my head where Miracle Max says: "There is a big difference between mostly dead and all dead. Mostly dead is still alive." Then I spent a few minutes giggling before I can focus again.

  • @iLoveTurtlesHaha
    @iLoveTurtlesHaha Před 6 lety +30

    I LOVE this man. I found this video from a search and didn't see the other 12 videos in the series and I am picking up everything he is saying. Also, it's so cool how he encourages class participation. Great teachers are amazing and a gift to humanity.

  • @naheliegend5222
    @naheliegend5222 Před 5 lety +6

    Everythime I see something like that, I wonder how brilliant a human can be to break down complexity so simple like that.

  • @kingofgods898
    @kingofgods898 Před 3 lety +1

    Listening to my professor try to lecture on classification makes me nauseous and hate my life.
    Listening to this guy lecture on classification and I'm actually enjoying it and understanding it.
    People are not equal.

  • @saveryd
    @saveryd Před 6 lety +12

    Prof. Guttag and Grimson are really great ! I wish I had those professors when I was in college !

  • @nomad_manhattan
    @nomad_manhattan Před 6 lety +3

    Absolutely the best ML courses I have encountered and I have tried many. This is the only one that keeps me focus and intrigued :) Do get Prof. Guttag's book! Good companion for this class

    • @w1d3r75
      @w1d3r75 Před 2 lety

      If it wasn't that expensive. All of the MIT books are expensive (the ones in the MIT publications page)

  • @creponnekarim2865
    @creponnekarim2865 Před 2 lety

    this man seems like an old very wise man that spent most of his time either in the research, or with his grand childs
    plus he's a good teacher

  • @aravindsankaran3778
    @aravindsankaran3778 Před 6 lety +16

    Precission is Positive predictive value and not specificity! 19:20

  • @haneulkim4902
    @haneulkim4902 Před 3 lety +3

    Amazing lecture as always! Thanks for great resources👏

  • @sandeepgill2693
    @sandeepgill2693 Před 3 lety +1

    Hats off to you sir for the way you share you knowledge.

  • @isbestlizard
    @isbestlizard Před 3 lety +8

    YES this is what I need to do the titanic challenge on kaggle

    • @mohanraj7697
      @mohanraj7697 Před 2 lety

      I came here for the same. Your comment assures I can watch this, thank you

  • @Speed001
    @Speed001 Před rokem

    34:24 fiting linear regression into a range, logistic regression.
    The machine learning model that's always visualized.

  • @henrikmanukyan3152
    @henrikmanukyan3152 Před 3 měsíci

    Stopped at the most important point 😀 makes you go to the next lesson . Anyway I am glad he mentioned it

  • @markk6594
    @markk6594 Před 5 lety +2

    42:46 line "for i in range(len(probs)):" because you just need i as a index for testset and probs, you could zip these lists, e.g. "for p_i, ts_i in zip(probs, testSet):" then you can use p_i and ts_i instead of probs[i] and testSet[i].
    All in all a really good lecture, thank you very much!

  • @littlenarwhal3914
    @littlenarwhal3914 Před 5 lety +2

    This is complicated, but the prof explains things well. Now i just need to learn more python to be able to understand it fully...

  • @Jcastellanoss123
    @Jcastellanoss123 Před 3 lety +1

    Thanks a lot for this classes, not only learn about the computational thinking, also the reason that Leonardo DiCaprio dont survive in the movie.

  • @ChrisAdvena
    @ChrisAdvena Před 3 lety

    Prof. Guttag talks about problems finding k nearest neighbor for large data sets due to number of distances needed to be calculated. Good old-fashioned relational databases have had a solution to this for decades. They use, for example, partitioning, multi-level indexing and calculated columns. The calculated columns can be stored or cached. In fact, we want our database to live in a disk / cache balance that optimizes our multitude of parameters , which boil down to preprocessing time and real-time processing time as constrained by money. This makes finding nearest neighbor, or any other math based comparison, faster by multiple orders of magnitude for large data sets. Recognizing, much of this can be done in memory, my question is, at which key places in machine learning do we most apply what we have learned in other data science fields about quick data access? In other words, where can we largely mitigate these and how do we decide if it is preferable to maximize performance of a function as opposed to utilizing a different ML approach?

  • @guilhermeaguilar6477
    @guilhermeaguilar6477 Před 7 lety +1

    very nice this videos about machine learning

  • @TheJustinmulli
    @TheJustinmulli Před 4 lety

    27:30 Wouldn't it be better to set label and k as keyword arguments instead of creating a separate knn function via lambda abstraction? He talks about using this to build much more general programs, yet he created two functions when you could just create one that does both, which would be more general than creating two.

  • @pierreehibertcortezcortez5547

    Lo máximo!

  • @adiflorense1477
    @adiflorense1477 Před 3 lety

    12:01 why is the k nearest neighbor data training separated into testing and training again?

  • @sandipdey2033
    @sandipdey2033 Před 5 lety +3

    Can anyone here tell me where can I find the video for "Regression" from the same set of MIT videos? Under what name is it present in the MIT lecture videos from the above-mentioned link?

    • @mitocw
      @mitocw  Před 5 lety +4

      Linear regression is covered in lecture 9: ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-0002-introduction-to-computational-thinking-and-data-science-fall-2016/lecture-videos/lecture-9-understanding-experimental-data/. Best wishes on your studies!

  • @annakh9543
    @annakh9543 Před 5 lety +2

    i'm already sad that im gonna finish these series of lectures soon :/

  • @jongcheulkim7284
    @jongcheulkim7284 Před 2 lety

    Thank you.

  • @batatambor
    @batatambor Před 4 lety

    Why didn't the professor fall in the 'dummy variable' trap? He used classes C1, C2 and C3 but he shouldn't have used all the 3 to create the regression model since C1 = 1 - C2 - C3, which means that the variables are dependent on each other. Someone knows the answer?

  • @fuzzyip
    @fuzzyip Před 4 lety +1

    wow, i wish you were my professor

  • @adiflorense1477
    @adiflorense1477 Před 3 lety

    it turns out that linear regression and logistic regression use the term coeff to denote weight. that interesting

  • @Trazynn
    @Trazynn Před 3 lety +2

    "The more legs an animal has, the less likely it is to be a reptile."

    • @landrynoulawe1565
      @landrynoulawe1565 Před rokem

      Animal with 4 legs has more chances to be a repitile than animal with 2 legs.

  • @danielmelendrez1616
    @danielmelendrez1616 Před rokem

    3:12 I believe that this statement is wrong. He is ACTUALLY using the full representation using the number of legs too. If you do the math, using the binary rep only, then the distance matrix shown is incorrect.
    CORRECTION: They are NOT using the number of legs, however, they erroneously threw a 2 in the last element of the binary data for chicken while it should be 0. I tested my own algorithm with this number and I get the same result as shown in the video.
    Additionally, the last binary feature should be 'reptile', correct? In the python data set the last element is zero in various of the reptile cases.
    Please let me know if I am missing something obvious...

  • @amishsethi1799
    @amishsethi1799 Před 4 lety +1

    Is there any way to get access to the posted code?

    • @mitocw
      @mitocw  Před 4 lety

      The full course site on OCW has the lecture notes and code files: ocw.mit.edu/6-0002F16. Good luck with your studies!

  • @rsd2dcc
    @rsd2dcc Před 11 měsíci

    Finally got applause for something 😂😂😂

  • @fabianusmonepatimonepati6721

    Wow I'intersting it

  • @TheRelul
    @TheRelul Před 3 lety

    tough crowd here..

  • @hannukoistinen5329
    @hannukoistinen5329 Před 2 lety +1

    If this a level of MIT, forget it!! There are much more usable courses for example professor Gilbert Strang.