Question: I want the code please(In java): Use the KNN classifier to produce the confusion matrix (TP, TN, FN, FN) and then find the classification accuracy

I want the code please(In java):

Use the KNN classifier to produce the confusion matrix (TP, TN, FN, FN) and then find the classification accuracy by using all features in a dataset.

Some small datasets are attached for your convenience.

The second phase, try to reduce the number of features as much s you can. Use a brute force algorithm to test all possible combinations,

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!