KNN videos

K-means clustering

K-nearest neighbors assigns a new data point to the most common class among its k nearest neighbors for classification or regression tasks.

<aside> đź’ˇ Useful for solving problems with complex and irregular boundaries.

</aside>

Grundprinzip Stell dir vor, du ziehst in eine neue Stadt und möchtest wissen, ob dir die Nachbarschaft gefallen wird. Was machst du? Du schaust dir die Nachbarn an! Genau so funktioniert KNN.

Wie funktioniert KNN? Stell dir eine Party vor:

Das "K" in KNN:

Ein praktisches Beispiel: