Question

Run the Nearest Neighbor classifier with a k-value of 7 and a Support Vector Machine with...

  1. Run the Nearest Neighbor classifier with a k-value of 7 and a Support Vector Machine with default values using 10-folds cross validation on the diabetes data set (diabetes.arff available online) in Weka. Fill in the confusion matrices for the models in the tables below and use the cost matrix to compute the cost for each model. Based upon the cost, which model should be selected and why?

Nearest Neighbor (k=7) Confusion Matrix

Tested Negative

Tested Positive

Tested Negative

Tested Positive

Support Vector Machine Confusion Matrix

Tested Negative

Tested Positive

Tested Negative

Tested Positive

Cost Matrix

Tested Negative

Tested Positive

Tested Negative

0

50

Tested Positive

100

-1

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

Based on the cost, Support vector machine model must be selected since its F-measure is high

I have done perfectly

Please comment if you have any doubts I'll get touch with you

Please thumbs up for my effort

Thank you and all the best

Add a comment
Know the answer?
Add Answer to:
Run the Nearest Neighbor classifier with a k-value of 7 and a Support Vector Machine with...
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
  • 33.In the k-nearest-neighbor classifier below, the vector to be classified is denoted by the symb...

    please provide a complete a detailed solution and the correct answer. THANK YOU 33.In the k-nearest-neighbor classifier below, the vector to be classified is denoted by the symbol, and for a k-4 nearest neighbor classifier the resulting classification would be д) Triangle b) Square c> unclassified d)none above 91 Cs Scanned with CamScanner Vector to be classified G (81.821 92 33.In the k-nearest-neighbor classifier below, the vector to be classified is denoted by the symbol, and for a k-4 nearest...

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