K-means clustering: how it works

Поділитися
Вставка
  • Опубліковано 13 вер 2024

КОМЕНТАРІ • 385

  • @feraudyh
    @feraudyh 9 років тому +597

    I have rarely seen a clearer presentation.

  • @abail7010
    @abail7010 6 років тому +56

    Thank you! My prof tried to explain this in 1.30h.
    You did it in 7 minutes and I understood it even better.

    • @induction7895
      @induction7895 2 роки тому

      This is because your brain is already primed to learn and knows what it understands and doesn't understand about the topic.

    • @abail7010
      @abail7010 2 роки тому

      @@induction7895 What are you trying to say?

  • @undefined915
    @undefined915 8 років тому +72

    seriously, best K means explained

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

    So much better than the official university explanation. Thanks a lot for this work!

  • @GyManiac
    @GyManiac 8 років тому +40

    Awesome explanation. Good and clear introduction with the theory and a perfect example afterwards.
    Many thanks to you sir.

  • @denizgursel
    @denizgursel 10 років тому +14

    finally, someone who explained it step by step and visually, thanks a lot!

    • @vlavrenko
      @vlavrenko  10 років тому

      Thanks!

    • @Nuzee03
      @Nuzee03 10 років тому

      Victor Lavrenko if you have categorical data what should you run if not k means??

    • @vlavrenko
      @vlavrenko  10 років тому

      With categorical data the notion of a "mean" or "centroid" is not so straightforward. You could use the mode (most frequent attribute value) instead of the mean. Or use agglomerative clustering, which does not require you to instantiate centroids.

  • @christianeheiligers3629
    @christianeheiligers3629 9 років тому +27

    Fantastically clear and uncomplicated description of k means clustering.

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

    This is the best K-means explanation i've ever seen!
    Great job, thank you!

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

    This is the clearest explanation of K-means clustering I have seen. I will be modelling my explanations off of yours. Thank you!

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

    I appreciate the simplicity of the explanation. Very easy to understand. It saved me time.

  • @mayurkulkarni755
    @mayurkulkarni755 8 років тому

    I've got professor in university who's got PhD in Machine Learning and MS in whatever but he doesn't seem to teach as good as you. Best explanation of k means on internet!. Thank you very much

  • @nmot97
    @nmot97 2 роки тому

    Best explanation on youtube, don't lose your time looking somewhere else.

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

    Short, Simple, Complete, and to the point. I love it and it helped me understand quickly!

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

    Clear, easy to understand, the last step by step images with the points and triangles really helped.
    Really good video, thank you.

  • @gautamkarmakar3443
    @gautamkarmakar3443 8 років тому

    Learned from many great resource but this is definitely one of the best open to all explanation of all.

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

    Best 7 minutes spent to understand! Thank you

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

    Best explanation ever. Reminds me of the bubble sorting method, where you sort nearest vector points until no more sorting is needed.

  • @arvindnair9884
    @arvindnair9884 10 років тому

    One of the best ever videos on K-means. Please carry on your amazing work .

    • @vlavrenko
      @vlavrenko  10 років тому

      Thank you, it's very good to know this video was helpful to you.

  • @user-kx8gv2yk4v
    @user-kx8gv2yk4v 3 роки тому

    It's 2021 now, this video is still much much better than my prof's class

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

    1000% clearest k-means explanation out there

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

    This kind of stuff on youtube makes my life so much easier.

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

    One of the best explanations of K-Means clustering. Thanks!

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

    Wow this is Soo well explained... 7years later it's still🔥🔥🔥🔥

  • @ericarnaud5062
    @ericarnaud5062 10 років тому +2

    Thank you victor, that the best tuto about the K-means I ever watched....

    • @vlavrenko
      @vlavrenko  10 років тому +1

      Thanks! Happy to know this is helpful

  • @beanflower
    @beanflower 9 років тому

    Your lectures helped me understand many of the concepts I found difficulty with. Thank you!

    • @vlavrenko
      @vlavrenko  9 років тому

      Thank you! Glad to be able to help.

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

    Clear as much as it can be. It has been useful. Thanks.

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

    Sir, you made it so simple. Thanks. After searching a lot, finally this video made my concepts clear.

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

    I cannot speak such fast and clear at the same time. Nice!

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

    I wish the lecturer i have at uni was as good as you prof Victor.

  • @davidfield5295
    @davidfield5295 8 років тому +2

    The example at the end was very helpful, thanks for the video

  • @iseslc
    @iseslc 9 років тому +2

    I can't believe how clear your lecture was! You have helped me SO much!! Many thanks!!!! :D

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

    Great explanation. Just saved myself 20 min figuring out my course notes!

  • @thangtran145
    @thangtran145 2 роки тому

    Legendary explanation, with an invaluable example! Thank you Victor

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

    Thank you! It was the best intuitive representation of K-means!

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

    The BEST VIDEO explained K-men EVER ... Thank youuuu

  • @saherios
    @saherios 8 років тому +1

    Great and clear explanation. Could you possibly add a video of the formal proof of why this algorithm always converges?

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

    Loved the way your explained the concepts

  • @__enx__
    @__enx__ 5 років тому +2

    Thank you. you made it clear with example
    Lets cluster out those 108 downvotes

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

    Best explanation ever, hands down. I applaud you good sire.

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

    Excellent .. couldn't have been presented any more clearly. Thank you!

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

    I understand more with you in english language that on my teacher's book in italian. Thank you!

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

    thanks...great explanation (tip: as you said, quick way to visualize starts at 4:50 )!

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

    Just the best explanation heard so far! Good job

  • @nO_d3N1AL
    @nO_d3N1AL 9 років тому +2

    Best explanation I've ever come across

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

    Incredible teaching skills!

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

    Whaaaa. I got k-means in 2.5 minutes! This was amazing!

  • @1976turkish
    @1976turkish 8 років тому

    Very succinctly explained. Well done

  • @ahmetfarukcakmak6804
    @ahmetfarukcakmak6804 9 років тому

    Clear, brief and excellent. Many thanks VL.

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

    Very clear explanation. Thanks for your work

  • @JuanKman86
    @JuanKman86 8 років тому

    Excellent explanation, Victor. How lucky must be your students.
    Greetings from Mexico

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

    Very good Mr.Lavrenko,
    thank you, well done!

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

    This was the best explanation I have ever seen! Thank you so much!!

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

    Awesome video, to the point and explains everything. Just love it.

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

    Fantastic video, broke it down very clearly. Thanks a lot.

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

    The visualizations used are super helpful!

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

    Good that you also describe what Eucalidian means Thank's

  • @MrLazini
    @MrLazini 2 роки тому

    this was amazing and blazingly fast ! thanks !

  • @isurasundar
    @isurasundar 8 років тому

    Very clear explanation and presentation. Thanks for you time and effort!

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

    Thank you Graham Norton! You’re the best!

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

    Well explained Victor, thanks for your sincere effort.

  • @tilakshenoy8440
    @tilakshenoy8440 8 років тому +1

    Thank you so much for the crystal clear and precise presentation Sir!! :)

  • @remilacan6192
    @remilacan6192 10 років тому

    Thank you very much, after have found some pages with mathematics formulas, Now I understand the implémentation !

    • @vlavrenko
      @vlavrenko  10 років тому

      Very happy you find it useful, thanks!

  • @stillyoungabdpretty
    @stillyoungabdpretty 2 роки тому

    Большое спасибо за понятное объяснение буквально на пальцах

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

    Thank you Victor for your great presentation!

  • @andrewdavis6191
    @andrewdavis6191 8 років тому

    thank you very much sir! much better explanation than I got in class

  • @AI-HOMELAB
    @AI-HOMELAB 4 місяці тому

    great explanation, simple and visualized. Thanks! =)

  • @sanshinron
    @sanshinron 8 років тому +4

    Awesome video. Could you also explain how to decide how many centroids an algorithm should use?

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

      See elbow point in next proposed UA-cam video: ua-cam.com/video/4b5d3muPQmA/v-deo.html

  • @gautamkarmakar3443
    @gautamkarmakar3443 8 років тому

    I am basically covering all your classes and making all the notes try my best to make the best of these resources.

  • @BuckySeifert
    @BuckySeifert 9 років тому

    Thanks. this was very helpful. Glad to have found a video that explained it in a manner that didn't take too long to get the message through.
    By the by, your voice reminds me of the character Pritchard from Deus Ex: Human Revolution. Sorry if you get that a lot.

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

    Wow. Excellent explanation. Thanks.

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

    Seems so simple now, I was getting confused with the recalculation of the centroid location, but thank you :)

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

    very nice explaination ,very clear and concise.thank you very much

  • @skepy91
    @skepy91 8 років тому

    hi victor just wanna say thanks coz this really helps me alot , reading text is harder to understand thx for the visuals!

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

    Awesome explanation, thank you Victor!

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

    Thank you Victor verry clear presentation

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

    Incredible Lecture!

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

    That was brilliant, I understood it straight away.

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

    I assign attributes all the time in my k-means clusters... for example I will add a male-female categorical. If the data is scaled from 0 to 12, I will assign a 0 to males and 12 to females. For example, if the resulting cluster, gives 6 average then I would say the cluster is equally male and female, a result of 3 would be 'leans male', etc.

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

    Very clear and concise.

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

    I am so thankful for the time you took to help with clarifying a numerous doubts just in few minutes. You're a wonderful teacher.

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

    Thank you so much for the video. You have made it very clear and simple.

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

    Brilliant video! Many thanks!

  • @havel7661
    @havel7661 2 роки тому

    This is awesome! Thanks for your explanation!

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

    thank you for you explanation !!! you helped me solve this problem

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

    short, simple and clear

  • @justintimekim
    @justintimekim 10 років тому

    best k-means explanation ever, thanks
    one question i have is,
    considering the randomly selected centroids,
    will the end results always be the same?

    • @vlavrenko
      @vlavrenko  10 років тому

      Justin Kim Thanks for the kind words.
      No, the end result will be different each time you run K-means from different starting points. The algorithm finds only a local minimum of the error (intra-cluster variance).
      If computation time is not an issue, you run the algorithm multiple times, and in the end pick the clustering that gives the lowest intra-cluster variance -- it is, in a way, the best fit of K clusters to your data.

  • @MapALife
    @MapALife 10 років тому +1

    Thank you for the help!!! I'm just learning all of this and this video is realy helpful as far as getting a conceptual understanding of all this

    • @vlavrenko
      @vlavrenko  10 років тому

      Thanks! Really happy to know this is helpful.

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

    Thanks Victor for amazing explanation!

  • @KiranKumar-qy4pu
    @KiranKumar-qy4pu 8 років тому

    Victor, That was excellent!

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

    Very clear explanation!

  • @saqehi
    @saqehi 8 років тому

    I appreciate your explanation! I'll probably be referring to your other algorithm explanations as well

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

    Great diagrams and explanation. Perfect!

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

    very neatly explained!

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

    Thanks for clear explanation!

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

    Very Nicely Explained !!

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

    Very clear illustrations

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

    Excellent explanation..!!!

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

    Stellar explanation. Thanks

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

    What an outstanding presentation 👏👏

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

    Lovely presentation.