K Nearest Neighbor Algorithm

# Introduction To solve classification problems, the K-nearest neighbors (KNN for short) algorithm is a simple and practical method. This chapter will introduce the K-nearest neighbors algorithm in detail. We will give a Python implementation from the aspects of distance calculation and classification decision. Finally, the K-nearest neighbors algorithm will be used to construct a prediction model and solve the lilac flower classification problem.

|60 : 00

Click the virtual machine below to start practicing