KNN (Part 1): How to Classify Movie Genres Based on Fight and Kiss Counts?(Practical Data Analysis 18)
Learn KNN (K-Nearest Neighbor) basics, from classifying movie genres by fight and kiss scenes to regression techniques and KD Tree optimization.
Welcome to the "Practical Data Analysis" Series.
Today, let me guide you through learning KNN, short for K-Nearest Neighbor, which is arguably one of the simplest algorithms in data mining.
Let's start with an example.
Imagine we want to classify movie genres based on certain features like the number of fight scenes and kiss scenes, though other metrics could also be considered. Here's a simple table of statistics: