Changed parameter m to n_neighbors.