Question

find the evaluation metrices for KNN and SVM and display the best classification

1.For the following two confusion matrix: PREDICTED CLASS 1. K Nearest Neighbor Class=Yes class=No ACTUAL CLASS Class Yes 0 5

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer: K Nearest Neighbour

<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

classification gets evaluated based on its accuracy of prediction of result

so for knn

total sample size=53+0+9+158=220

correctly predicted = 211

so accuracy percentage= (total_accurate/total_sample)*100=(211/220)*100=95.91%

i.e error in accuracy while using KNN is 4.091 %

for SVM

total sample size=46+3+13+158=220

correctly predicted = 46+158=204

so accuracy percentage= (total_accurate/total_sample)*100=(204/220)*100=92.723%

i.e error in accuracy while using KNN is 7.273 %

so error rate for KNN is less so best classification in this scenario is KNN

<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>

note: if u want to evaluate above algo based on different criterion let me know

happy learning and please upvote

Add a comment
Know the answer?
Add Answer to:
find the evaluation metrices for KNN and SVM and display the best classification 1.For the following...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT