K-nearest neighbor is a supervised learning algorithm where the result of new instance query is classified based on majority of K-nearest neighbor category. The classifiers do not use any model to fit and only based on memory. Within AI, there are two basic approaches: supervised learning and unsupervised learning. The main difference is one uses labeled data to help predict outcomes, while the other does not. Supervised Learning It is defined by its use of labeled datasets. These datasets are designed to train algorithms into classifying data or predicting outcomes accurately. Using labeled inputs and outputs, the model can measure its accuracy and learn over time. Supervised learning can be separated into two types of problems when data mining: classification and regression. Unsupervised Learning It uses machine learning algorithms to analyze and cluster unlabeled data sets. These algorithms discover hidden patterns in data without the need for human intervention. Unsupervised learning models are used for three main tasks: clustering, association, and dimensionality reduction. |
A man is driving down a highway in his Ferrari when he is pulled over by cop! The driver says: Officer why did you pull me over? The cop says: For speeding! The driver says: Why officer I saw a sign back there that said 90! The cop says: That is the road number sir! The driver says: Thank God you didn’t pull me over on highway 181!!! |