5. kNN REGRESSION
Hello world! This blog is about using kNN algorithm for regression. Please refer to my earlier blogs to get an insight about kNN. Supervised machine learning is one of the most commonly used and successful types of machine learning. We used supervised learning in the previous blog to classify flower iris into several species using physical measurements of the flower. Supervised learning is used when we want to predict a certain outcome of from a given input, and we have examples of input/output pairs. We build a machine learning model from the input/output pairs, which comprises our training set. Our goal in machine learning is to make accurate predictions for new never-before-seen data. Supervised learning often requires human effort to build the training set, but later it automates and speeds up an otherwise laborious or infeasible task. There are two major types of supervised machine learning problems, called classification and regression. In classification, the goal is