View the step-by-step solution to:

Question

# i just need some help solving these exercises alt="inclass2.jpg" /> Attachment 1 Attachment 2 ATTACHMENT PREVIEW Download attachment 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: &lt;1&gt;X=T , Class Label=+; &lt;2&gt;X=T, Class Label=-; &lt;3&gt;X=F , Class Label= +; &lt;4&gt;X-F , Class Label= -. X is either A or B. Answer: (Continue to the next page - ) ATTACHMENT PREVIEW Download attachment 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 - )

### 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