Question: can we use knn for regression?
Answer: A simple implementation of KNN regression is to calculate the average of the numerical target of the K nearest neighbors. ... KNN regression uses the same distance functions as KNN classification. The above three distance measures are only valid for continuous variables.