Computer Science, asked by Komalsoni31921, 1 year ago

Why to use odd values of k while performing classification using knn algorithm?

Answers

Answered by Anonymous
0

Answer:

It requires large memory for storing the entire training dataset for prediction. KNN requires scaling of data because KNN uses the Euclidean distance between two data points to find nearest neighbors. Euclidean distance is sensitive to magnitudes.

Similar questions