K Means Clustering Solved Example K Means Clustering Algorithm in Machine Learning by Mahesh Huddar

Поділитися
Вставка
  • Опубліковано 1 жов 2024
  • K Means Clustering Solved Example K Means Clustering Algorithm in Machine Learning by Mahesh Huddar
    Use K Means clustering to cluster the following data into two groups. Assume cluster centroid are m1=4 and m2=11. The distance function used is Euclidean distance. { 2, 4, 10, 12, 3, 20, 30, 11, 25 }
    The following concepts are discussed:
    ______________________________
    k means clustering algorithm,
    k means clustering example,
    k means clustering,
    k means,
    k means algorithm,
    k-means clustering algorithm,
    k-means clustering example,
    k-means clustering,
    k-means,
    k-means algorithm,
    k means clustering algorithms solved example,
    k means clustering example,
    k means clustering solved example,
    k means solved example,
    k means algorithm solved example,
    k means clustering algorithm 1-dimensional data,
    k means clustering example 1-dimensional data,
    k means clustering 1-dimensional data,
    k means 1-dimensional data
    ********************************
    1. Blog / Website: www.vtupulse.com/
    2. Like Facebook Page: / vtupulse
    3. Follow us on Instagram: / vtupulse
    4. Like, Share, Subscribe, and Don't forget to press the bell ICON for regular updates

КОМЕНТАРІ • 30

  • @ravikolagani
    @ravikolagani 4 місяці тому +25

    Small clarification : Square and root gets cancel in mathematics .. so the formulea is d(x2,x1) = x2-x1 -- Isn't it ?

    • @darkzone3295
      @darkzone3295 4 місяці тому +4

      if you cancel it or not but the answer remains the same right

    • @lucaspecialedits4284
      @lucaspecialedits4284 4 місяці тому +1

      The points are one dimensional here. But for higher dimension points we need to sum all squares of all differences under root.

    • @MSAMIULHAQ-u3e
      @MSAMIULHAQ-u3e 4 місяці тому +8

      To avoid minus sign
      Square is compulsory or take abs val

    • @sheevanulhaq3912
      @sheevanulhaq3912 4 місяці тому +5

      It's the common mistakes that we do or we can say we got stuck with the point that root and square get's cancel. Actually in mathematics it's not like that , whenever there is square inside a root then if you want to remove both the operator then you have to leave a modulus outside. On the other hand if there is a root inside the square then we don't need modulus.
      For example:-
      √(x²) = |x|
      (√x)² = x
      Hope you get it.

    • @kucklowmusic9184
      @kucklowmusic9184 4 місяці тому

      Ofcourse, it would be just like measuring distances using scale since its 1-D

  • @prathmeshmohite692
    @prathmeshmohite692 5 місяців тому +6

    thank you sirrr ,nice teaching

    • @MaheshHuddar
      @MaheshHuddar  5 місяців тому +1

      Welcome
      Do like share and subscribe

  • @jeevithasrinivasan3199
    @jeevithasrinivasan3199 2 місяці тому +1

    If both the distance to m1 and m2 are same which cluster do we need to allocate ? To new cluster ?

    • @MaheshHuddar
      @MaheshHuddar  2 місяці тому +1

      Assign to any one cluster and continue with new iteration

  • @lukeshpraveen4763
    @lukeshpraveen4763 3 місяці тому

    Sir what if i get same distances
    And to which cluster do i need to assign it

    • @MaheshHuddar
      @MaheshHuddar  3 місяці тому

      Randomly assigned to one cluster and continue with new iteration

  • @chaimaashaay4887
    @chaimaashaay4887 4 місяці тому +2

    • @MaheshHuddar
      @MaheshHuddar  4 місяці тому

      Thank You
      Do like share and subscribe

  • @ramyakrishnan831
    @ramyakrishnan831 3 місяці тому +1

    Sema explain sir I have clearly understand TQ sir

    • @MaheshHuddar
      @MaheshHuddar  3 місяці тому

      Thanks and welcome
      Do like share and subscribe

  • @dhanashreeshiva68
    @dhanashreeshiva68 3 місяці тому

    Thank you sir..

    • @MaheshHuddar
      @MaheshHuddar  3 місяці тому

      Most welcome
      Do like share and subscribe

  • @tusharsoni_42
    @tusharsoni_42 5 місяців тому +4

    thnx

    • @MaheshHuddar
      @MaheshHuddar  5 місяців тому

      Welcome
      Do like share and subscribe

  • @praneethboddu012
    @praneethboddu012 4 місяці тому

    If initial centroids are not given what should l do

    • @mrchocon5388
      @mrchocon5388 4 місяці тому +3

      apni choice kai according choose kar loa

    • @MaheshHuddar
      @MaheshHuddar  4 місяці тому +6

      You can select any data points as initial centroids

    • @sadiyaww7507
      @sadiyaww7507 4 місяці тому +1

      @@MaheshHuddar won't the final clusters be different based on different initial centroids we choose if we are not given any initial centroid in question?

    • @MaheshHuddar
      @MaheshHuddar  4 місяці тому +3

      @@sadiyaww7507 No,
      You can start with any centroids randomly, if not given.
      Algorithm converges to correct clusters finally

    • @Imspeed877
      @Imspeed877 3 місяці тому +2

      Leave the exam hall and go back to home 🏡