how do I do car evaluation by using knn classificationSoluti
how do I do car evaluation by using k_nn classification?
Solution
I am assuming that dataset regarding car is already downloaded and available. If the classification problem is binary such as good or bad car, we can use the traditional knn classification algorithm.
k parameter specifies the number of nearest neighbours which should be considered for classifying the new test record. Depending on the features, data will be plotted in the feature space. Once the test data is provided, nearest k neighbours will be determined.
Based on nearest k neighbour classes, class of test data is determined.
