This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full 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 2decision 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 kdecision 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 0100 and a unique class label in { , 1 , 2 ,..., 9 } . The problem is a 10class classification problem where a class corresponds to a handwritten number.10class 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.
 Spring '08
 Staff

Click to edit the document details