602: Nearest Neighbour Classification and Regression
- Published
- Author
More than just similarities
- Classification: Predict the same class as the nearest observations
- Regression: Predict the same value as the nearest observations
???
Remember for classification tasks, we want to predict a class for a new observation.
What we could do is predict a class that is the same as the nearest neighbour. Simple!
For regression tasks, we need to predict a value. Again, we could use the value of the nearest neighbour! Simple again!
Read more