Amazon Machine Learning Engineer Interview: K-Means Clustering

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 14

  • @tryexponent
    @tryexponent  2 ปีที่แล้ว +1

    Don't leave your machine learning career to chance. Sign up for Exponent's Data Science interview course today: bit.ly/3iMOoPQ

  • @ax5344
    @ax5344 6 หลายเดือนก่อน +2

    The interview looks authentic. Thank you!

    • @visheshmangla8220
      @visheshmangla8220 25 วันที่ผ่านมา

      Not it doesn't, if you are some senior engineer, you won't pick centroids randomly.

  • @sbhaktha
    @sbhaktha 7 หลายเดือนก่อน +1

    I see a max_error parameter in the kmeans function definition set to a default value of 0.01 which the candidate doesn’t use or talk about. What is that parameter?

  • @devanshverma5395
    @devanshverma5395 2 ปีที่แล้ว +3

    Nice mock!
    However, at one point in video the interviewee said that we can use any distance in distance_function but what if I choose Cosine-distance? How would you calculate centroids?
    Choosing Cosine-distance would change this to a spherical clustering problem and the algorithm would change. So it's better to be sure that we know what we say in an interview .

    • @ajayeswar1409
      @ajayeswar1409 ปีที่แล้ว +1

      You can choose cosine distance when dealing with text data in the form of word embeddings. Calculate of centroids is still the mean point across all dimensions

    • @pingdingdongpong
      @pingdingdongpong 9 หลายเดือนก่อน +1

      Actually, you cannot choose cosine distance. K-means works only with euclidean distance. This is what "k-means" means.

    • @JP-zz6ql
      @JP-zz6ql 5 หลายเดือนก่อน

      Yup something about not being able to converge if using alternative distance function

  • @jacobsimon4699
    @jacobsimon4699 2 ปีที่แล้ว

    🚀Love it!

  • @pingdingdongpong
    @pingdingdongpong 9 หลายเดือนก่อน +5

    I see very little point to coding k-means.

    • @Squeed79
      @Squeed79 7 หลายเดือนก่อน +4

      absolutely no point. Such screenings are useless...

    • @akhilpadmanaban3242
      @akhilpadmanaban3242 2 หลายเดือนก่อน

      @@Squeed79 Do you think such will be asked for ML engineer roles????

    • @Squeed79
      @Squeed79 2 หลายเดือนก่อน

      @@akhilpadmanaban3242 for ML engineer? I would not ask "coding" from scratch. Maybe only principles and if/how it is scalable to huge data, etc...

  • @CreatingUtopia
    @CreatingUtopia 3 หลายเดือนก่อน

    points[points_i], passing list to a list or what, I mn sure it works here, and I am missing something but I don't know what please help