Introduction - If you have any usage issues, please Google them yourself
K-nearest neighbor (KNN) classification algorithm is a relatively mature method in theory and one of the simplest machine learning algorithms. The idea of this method is: in the feature space, if most of the k nearest samples belong to a certain category, then the samples also belong to this category.