Question

Assuming a total sample of 1079 persons, among which 520 persons are having autism and 559...

Assuming a total sample of 1079 persons, among which 520 persons are having autism and 559 are healthy persons. When we pass the data of 520 autism patients into the KNN classifier, it correctly predicted “220” patients as autism category and the remaining patients into healthy category. Similarly, from 559 healthy persons, the KNN categorize “100” as autism patients and the remaining as healthy persons.

In the above scenario, if “autism” is considered as “positive class” and “healthy person” is considered as negative class then find the:

  1. True Positive
  2. True Negative
  3. False Positive
  4. False Negative
  5. Sensitivity (True positive rate)
  6. Specificity (True negative rate)
  7. Accuracy
  8. Precision
  9. Draw the confusion matrix                               
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Total samples overall = 1079

Postive (autism) samples having autism = 520

negative sample of (Healthy person) = 559

i) Confusion Matrix

False True

False 459   100

True 300 220

a) True positive (actual postive and predictèd positive) = 220

b) Ture negative(Actual negative and predicted negative) = 459

c) False positive (Actual negative and predicted positive) = 100

d) False negative (Actual positive and predicted negative) = 300

e) Sensitivity = (True positive)/(True postive + False negative) = 220/520 = 0.423

f) Specificity = (True negative)/(True negative + False positive) = 459/559 = 0.821

g) Accuracy = (True positive + Ture negative)/(True positive + Ture negative+False positive + False negative )

=(220+459)/(520+559) = 0.629

h) Precision = (True postive)/(True postive + False positive) =220/(220+100) = 220/320 = 0.6875

Add a comment
Know the answer?
Add Answer to:
Assuming a total sample of 1079 persons, among which 520 persons are having autism and 559...
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
  • Assuming a total sample of 1079 persons, among which 520 persons are having autism and 559...

    Assuming a total sample of 1079 persons, among which 520 persons are having autism and 559 are healthy persons. When we pass the data of 520 autism patients into the KNN classifier, it correctly predicted “220” patients as autism category and the remaining patients into healthy category. Similarly, from 559 healthy persons, the KNN categorize “100” as autism patients and the remaining as healthy persons. In the above scenario, if “autism” is considered as “positive class” and “healthy person” is...

  • Assuming a total sample of 1079 persons, among which 520 persons are having autism and 559...

    Assuming a total sample of 1079 persons, among which 520 persons are having autism and 559 are healthy persons. When we pass the data of 520 autism patients into the KNN classifier, it correctly predicted “220” patients as autism category and the remaining patients into healthy category. Similarly, from 559 healthy persons, the KNN categorize “100” as autism patients and the remaining as healthy persons. In the above scenario, if “autism” is considered as “positive class” and “healthy person” is...

  • Question 4 _(10 Marks) Assuming a total sample of 1079 persons, among which 520 persons are...

    Question 4 _(10 Marks) Assuming a total sample of 1079 persons, among which 520 persons are having autism and 559 are healthy persons. When we pass the data of 520 autism patients into the KNN classifier, it correctly predicted "220" patients as autism category and the remaining patients into healthy category. Similarly, from 559 healthy persons, the KNN categorize "100" as autism patients and the remaining as healthy persons. In the above scenario, if "autism" il considered as “positive class"...

  • Question 4 (10 Marks) Assuming a total sample of 1079 persons, among which 520 persons are...

    Question 4 (10 Marks) Assuming a total sample of 1079 persons, among which 520 persons are having autism and 559 are healthy persons. When we pass the data of 520 autism patients into the KNN classifier, it correctly predicted “220” patients as autism category and the remaining patients into healthy category. Similarly, from 559 healthy persons, the KNN categorize “100” as autism patients and the remaining as healthy persons. In the above scenario, if “autism” is considered as “positive class”...

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