hw4 - CSCI 5512: Artificial Intelligence II (Spring’10)...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CSCI 5512: Artificial Intelligence II (Spring’10) Homework 4 (Due May 3 at 4pm) 1. (40 points) (Programming Assignment) Consider the Restaurant dataset given in Table 1. Example Attributes Target Alt Bar Fri Hun Pat Price Rain Res Type Est WillWait X 1 T F F T Some $$$ F T French 0–10 T X 2 T F F T Full $ F F Thai 30–60 F X 3 F T F F Some $ F F Burger 0–10 T X 4 T F T T Full $ F F Thai 10–30 T X 5 T F T F Full $$$ F T French > 60 F X 6 F T F T Some $$ T T Italian 0–10 T X 7 F T F F None $ T F Burger 0–10 F X 8 F F F T Some $$ T T Thai 0–10 T X 9 F T T F Full $ T F Burger > 60 F X 10 T T T T Full $$$ F T Italian 10–30 F X 11 F F F F None $ F F Thai 0–10 F X 12 T T T T Full $ F F Burger 30–60 T (a) (15 points) Implement a decision tree learning algorithm dtree4 , and learn a decision tree (of depth at most 4) from the given training data. What is the training set error of the learned decision tree? (b) (15 points) Implement a 2-decision list learning algorithm dlist2 , and learn a decision list from the given training data. What is the training set error of the learned decision tree? (c) (10 points) Show that the hypothesis space of k-decision lists include all decision trees of depth k . 2. (40 points) (Programming Assignment) We will use the Pendigits dataset from the UCI machine learning repository. The dataset contains 10992 examples, each with 16 integer features in the range 0-100 and a unique class label in { , 1 , 2 ,..., 9 } . The problem is a 10-class classification problem where a class corresponds to a handwritten number.10-class classification problem where a class corresponds to a handwritten number....
View Full Document

This note was uploaded on 10/21/2011 for the course CSCI 5512 taught by Professor Staff during the Spring '08 term at Minnesota.

Page1 / 3

hw4 - CSCI 5512: Artificial Intelligence II (Spring’10)...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online