

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CS 791A - Machine Learning Instructor: Dr. Arun Ross Due Date: Nov 30, 2007 (11:59pm)
Note: You are permitted to discuss the following questions with others in the class. However, you must write up your own solutions to these questions. Any indication to the contrary will be considered an act of academic dishonesty.
i 6 =j
p(i)p(j),
where p(i) represents the probability of observing a training sample from output class i. Thus, for a certain attribute A, the Gini Index G(A) can be expressed as,
v∈A
p(v)
i 6 =j
p(i|v)p(j|v).
Based on the Gini Index, determine which attribute will be selected as the topmost node based on the training samples in Table 3.2 of the ML textbbook (page 59).
a 1 a 2 c 0.1 1.1 0 6.8 7.1 0 -3.5 -4.1 0 2.0 2.7 0 4.1 2.8 0 3.1 5.0 0 -0.8 -1.3 0 0.9 1.2 0 5.0 6.4 0 3.9 4.0 0 7.1 4.2 1 -1.4 -4.3 1 4.5 0.0 1 6.3 1.6 1 4.2 1.9 1 1.4 -3.2 1 2.4 -4.0 1 2.5 -6.1 1 8.4 3.7 1 4.1 -2.2 1
Consider two sets of initial weights: (a) w 1 = w 2 = w 3 = 0, and (b) w 1 = w 2 = w 3 = 1. For each case: (a) observe the linear boundary at the end of each iteration with respect to the two categories of training samples; (b) show the final decision boundary along with the associated set of weights; and (c) note the number of iterations required for convergence.