View the step-by-step solution to:

Question

i just need some help solving these exercises


alt="inclass2.jpg" />inclass1.jpg

inclass1.jpg

1. Consider the following data set for a binary class problem. There are two attributes as
test results from a medical experiment (T as positive; F as negative). The class label
shows if there is a disease (+ as presence of the disease; - as non-presence)
ID
A
B
Class Label
T
F
+
T
T
+
T
T
+
T
F
T
+
T
F
F
F
F
T
T
10
T
F
(a) Create a contingency table for each attribute. In this table, there are four values to be
recorded:
<1>X=T , Class Label=+;
<2>X=T, Class Label=-;
<3>X=F , Class Label= +;
<4>X-F , Class Label= -.
X is either A or B.
Answer:
(Continue to the next page - )

inclass2.jpg

Class Session:
Name.
(Continued from the front page)
(b) Using both tables from (a), calculate before-splitting Gini index, and Gini indices of
the splitting on both A and B.
Answer:
Gini index before splitting:
Gini index (A's split):
Gini index (B's split):
(c) Using the same tables from (a), calculate before-splitting misclassification error, and
misclassification errors of the splitting on both A and B.
Answer:
Misclassification error before splitting:
Misclassification error (A's split):
Misclassification error (B's split):
(Continue to the next page - )

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question