Table 20 Best parameters obtained by randomized search CV for KNN.

From: Predicting land suitability for wheat and barley crops using machine learning techniques

Parameters

Weights

n_neighbors

Metric

Values

Distance

7

Manhattan