Machine Learning Basics with the K-Nearest Neighbors Algorithm