Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the training set given below, where X, X2, X3 and X4 are attributes and Y is the target value. Y X X X3

Consider the training set given below, where X, X2, X3 and X4 are attributes and Y is the target value. Y X X

Consider the training set given below, where X, X2, X3 and X4 are attributes and Y is the target value. Y X X X3 X4 +1 0 1 0 1 +1 1 1 0 +1 0 +1 1 0 1 -1 -1 -1 -1 1 0 1 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 1 0 0 1 0 0 1 1 a. (Group work) Implement the ID3 algorithm and show what tree results. Please make sure that you are implementing ID3 and are not using some decision tree algorithm/package. Make sure your program, at each split point, prints out the entropy at that time and the information gain of each attribute at that time. b. (Individual work) Design by hand a tree with 4 leaf nodes, 3 internal nodes and depth bounded by two which is consistent with this training data.

Step by Step Solution

3.58 Rating (144 Votes )

There are 3 Steps involved in it

Step: 1

a Implementation of ID3 Algorithm Calculate the Y entropy of the target variable for the entire data set Calculate the information to be obtained for each factor X1 X2 X3 and X4 Identify the element w... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Algebra

Authors: Michael Sullivan

9th Edition

0321830725, 9780321830722

More Books

Students also viewed these Computer Network questions

Question

Solve each inequality algebraically. 2x 3 > -8x 2

Answered: 1 week ago