What is a deep learning course that can be crushed in the field in 3 months
● A machine learning method for classification problems. Get $ k $ of nearest neighbor data and identify it to the class to which it belongs most.
When you decide $ k = 3 $, select the 3 closest data from some data. Among them, identify as belonging to many of the same class that can be classified.
(Example) Of the three data closest to a certain data If two red dots and one blue dot are selected, you are in the red dot class.
● $ k $ needs to be decided before turning the algorithm. ● Increasing $ k $ makes the decision boundary smoother.
● Classify population data.
I tried it with $ k = 5 $.
I tried it with $ k = 10 $.
Is it better to set the value of $ k $ after checking the distribution status of the data? I will study whether there is a way to determine the initial value to this extent. It was a part of my knowledge, so I tried to move it and learned.
Recommended Posts