TuomoNieminen / Helsinki-Open-Data-Science

A DataCamp course for the University of Helsinki
https://www.datacamp.com/courses/helsinki-open-data-science
11 stars 10 forks source link

Mistake in k-means #1

Closed emmakarolina closed 6 years ago

emmakarolina commented 7 years ago

Chapter 3:

The usage of dist()-function needs to be removed from k-means chapters, because kmeans-function already calculates distances.

mantypet commented 6 years ago

There was an introductory exercise about euclidean distances, so I left that there for now, but added a comment that this is just to get a hang of things. Use of dist() function has been removed from the K-means exercises themselves with an added note that the kmeans-function calculates the distances automagically.