721
edits
Line 25: | Line 25: | ||
To be able to successfully classify a new point (a sound), the classifier actually only needs to know the <code>centroid of each class</code> and a way to <code>find the closest centroid</code> to our new point. | To be able to successfully classify a new point (a sound), the classifier actually only needs to know the <code>centroid of each class</code> and a way to <code>find the closest centroid</code> to our new point. | ||
As a first step the classifier needs to calculate the centroids. | As a first step the classifier needs to calculate the centroids. For that it needs to know the | ||
* all our given points (=measurements of sounds) | * all our given points (=measurements of sounds) | ||
* | * and to which class they belong (=classLabels) | ||