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” and “healthy person” is considered as negative class then find the:
a. True Positive
b. True Negative
c. False Positive
d. False Negative
e. Sensitivity (True positive rate)
f. Specificity (True negative rate)
g. Accuracy
h. Precision
i. Draw the confusion matrix
Given:
Autism Patients are considered as Positive (P)
Healthy patients are considered as Negative (N)
Total Persons = 1079
Total Positve persons (Autism) = 520
Total Negative persons (Healthy) = 559
Confusion Matrix is denoted as:
|
where,
P = Positve
N = Negative
TP = True Positive: The actual positve patients which are rightly
predicted as positive.
FN = False Negative: The actual positve patients which wrongly are
predicted as negative.
FP = False Positve: The negative positve patients which are wrongly
predicted as positive.
TN = True Negative: The actual negative patients which are rightly
predicted as negative.
Now, in the question:
Hence, the confusuin matrix will be:
|
a. True Positive = 220
b. True Negative = 459
c. False Positive = 100
d. False Negative = 300
e. Sensitivity (True positive rate) =
f. Specificity (True negative rate) =
g. Accuracy =
h. Precision =
i. Confusion Matrix =
|
Question 4 (10 Marks) Assuming a total sample of 1079 persons, among which 520 persons are...
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 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"...
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 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...