Question: Perform KNN - based classification to predict the values / labels ( last column in the data ) . This should be the multi -

Perform KNN-based classification to predict the values/labels (last column in the data). This should be the multi-class classification problem. Input would be the features in 3rd column (code attribute). Before classification, perform basic "exploratory data analysis (EDA)" to see number of unique lables, unique features etc. Use 60-10-30% for training-validation-test set by randomly assigning data to each set. Repeat the experiments 5 times and show average results along with standard deviations. Compute accuracy, precision, recall, weighted F1, Macro F1, ROC-AUC as the "goodness" metrics. Compute results for different values of "k", which is the hyperparameter in this case. Show using a line plot that how accuracy changes with the increasing value of k.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!