Amazon Machine Learning Engineer Interview: K-Means Clustering

Поделиться
HTML-код
  • Опубликовано: 30 окт 2024

Комментарии • 15

  • @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 7 месяцев назад +2

    The interview looks authentic. Thank you!

    • @visheshmangla8220
      @visheshmangla8220 Месяц назад

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

  • @sbhaktha
    @sbhaktha 8 месяцев назад +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?

  • @CreatingUtopia
    @CreatingUtopia 4 месяца назад

    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

  • @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 10 месяцев назад +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

  • @pingdingdongpong
    @pingdingdongpong 10 месяцев назад +6

    I see very little point to coding k-means.

    • @Squeed79
      @Squeed79 8 месяцев назад +4

      absolutely no point. Such screenings are useless...

    • @akhilpadmanaban3242
      @akhilpadmanaban3242 3 месяца назад

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

    • @Squeed79
      @Squeed79 3 месяца назад

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

    • @jeenieb6255
      @jeenieb6255 7 дней назад

      But they do ask coding questions, as in first round could be coding round - without an interviewer though.

  • @jacobsimon4699
    @jacobsimon4699 2 года назад

    🚀Love it!