machine_learning_exercise3

# machine_learning_exercise3 - Change Weak Rainy Sameecast...

• Notes
• 2
• 33% (3) 1 out of 3 people found this document helpful

This preview shows pages 1–2. Sign up to view the full content.

Sky AirTemp Rainy Cold Warm Sunny Humidity Wind Weak Strong Normal High Water Forecast Warm Cool Change Same Example Sky AirTemp Humidity Wind Water Forecast EnjoySport 1 Sunny Warm Normal Strong Warm Same Yes 2 Sunny Warm High Strong Warm Same Yes 3 Rainy Cold High Strong Warm Change No 4 Sunny Warm High Strong Cool Change Yes TABLE 2.1 Positive and negative training examples for the target concept EnjoySport. 3.4. ID3 searches for just one consistent hypothesis, whereas the CANDIDATE-ELIMINATION algorithm finds all consistent hypotheses. Consider the correspondence between these two learning algorithms. (a) Show the decision tree that would be learned by ID3 assuming it is given the four training examples for the Enjoy Sport? target concept shown in Table 2.1 of Chapter 2. E=-(3/4)*log2(3/4)-(1/4)*log2(1/4)=0.811 S=[3+,1-], E=0.811 S=[3+,1-], E=0.811 S=[3+,0-] S=[0+,1-] S=[3+,0-] S=[0+,1-] E=0 E=0 E=0 E=0 S=[3+,1-], E=0.811 S=[3+,1-], E=0.811 S=[0+,0-] S=[3+,1-] S=[2+,1-] S=[1+,0-] E=0 E=0.811 E=0.918 E=0 E(Strong) = -(3/4)*log2(3/4)-(1/4)*log2(1/4) = 0.811 E(High) = -(2/3)*log2(2/3)-(1/3)*log2(1/3) = 0.918 S=[3+,1-], E=0.811 S=[3+,1-], E=0.811

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.
• Fall '09
• STEPHANIEVIE

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern