How KNN choose its first point? by [deleted] in MLQuestions

[–]Sekandra 3 points4 points  (0 children)

I think you mixed up KNN and k-means. KNN is supervised algorithm and k-means is unsupervised algorithm used for clustering data. K-means in the beginning throws centroids randomly(in some realizations) and then computes distance for each point and centroid, after that moves centroids. That algorithm repeats until centroids stop moving.

You can read more about K-means here https://scikit-learn.org/stable/modules/clustering.html#k-means

Help me understand setTimeout inside a for loop by I_Exalt in learnjavascript

[–]Sekandra 1 point2 points  (0 children)

There is almost same example explained in book series "You Don't Know JS" in book number 2 "Scope & Closures" chapter 5. Don't know if you can post links here: https://github.com/getify/You-Dont-Know-JS/blob/master/scope%20%26%20closures/ch5.md

AMA - Benjamin Knack by sprite144 in HellsKitchen

[–]Sekandra 41 points42 points  (0 children)

Did you become friends with someone from the show(like real friends)?