Chapter 5
Building Recommender Systems
Section 3
Building a K-Nearest Neighbors Classifier
A K-Nearest Neighbors classifier is a classification model that uses the nearest neighbors algorithm to classify a given data point. The algorithm finds the K closest data points in the training dataset to identify the category of the input data point. - Visualize the input data using four different marker shapes - Define the step size of the grid that will be used to visualize the boundaries - Create the mesh grid of values that will be used to visualize the grid