July 2018
Beginner to intermediate
146 pages
3h 39m
English
k-NN regression works in almost the same way. Instead of classes, we compute the property values of the k-NN.
Imagine that we have a housing dataset and we're trying to predict the price of a house. The price of a particular house will therefore be determined by the average of the prices of the houses of its k nearest neighbors. As with classification, the final target value may differ depending on the value of k.
Read now
Unlock full access