# Regression kNN model vs. Classification kNN model

I was wondering what is the difference between regression kNN model and classification kNN model. I tried Googling and no success. In presentation from lectures we only have graphs of errors of mentioned models and no description as to what these models are.

• regression model: codomain of model is a continuous space, e.g. $\mathbb{R}$
• classification model: codomain of model is a discrete space, e.g. $\{0,1\}$.