ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 12 Weeks Ago, 5 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 20 May 2017 My Price 9.00

ID3 decision tree induction algorithm

I need help with question #2 in Part 1. I've written the question below but I have also attached the homework assignment.

Spam has become an increasingly annoying problem for e-mail users. In this problem weare interested in using the ID3 decision tree induction algorithm to automatically determinewhether or not an e-mail is a spam based on whether the words “nigeria”, “viagra”, and“learning” appear in the e-mail. Below are the instances from which our decision tree willbe learned. Note that a word has the value 1 if and only if it is present in the correspondinge-mail.

 

No. nigeria viagra learning Class
1 1 0 0 1
2 0 0 1 1
3 0 0 0 0
4 1 1 0 0
5 0 0 0 0
6 1 0 1 1
7 0 1 1 0
8 1 0 0 1
9 0 0 0 0
10 1 0 0 1

Using these descriptions as training instances, show the decision tree created by the ID3decision tree learning algorithm. Show the information gain calculations that you computedto create the tree. Be sure to indicate the class value to associate with each leaf of the treeand the set of instances that are associated with each leaf.

 

CS 4375 Introduction to Machine LearningFall 2016Assignment 1: Decision Tree InductionPart I:Due electronically by Tuesday, September 6, 11:59 p.m.Part II:Due electronically by Tuesday, September 13, 11:59 p.m.Note:1. Your solution to this assignment must be submitted via eLearning.2. Whenever possible, you should provide brief justiFcations for your solution.3. You may work in a group of two or individually.Part I: Written Problems (25 points)1.Representing Boolean Functions (10 points)Give decision trees to represent the following concepts:(a) (¬A∨B)∧ ¬(C∧A). Your decision tree must contain as few nodes as possible.(b) (A⊕B)∧C2.Decision Trees (15 points)Spam has become an increasingly annoying problem for e-mail users. In this problem weare interested in using the ID3 decision tree induction algorithm to automatically determinewhether or not an e-mail is a spam based on whether the words “nigeria”, “viagra”, and“learning” appear in the e-mail. Below are the instances from which our decision tree willbe learned. Note that a word has the value 1 if and only if it is present in the correspondinge-mail.No.nigeriaviagralearningClass110012001130000411005000061011701108100190000101001Using these descriptions as training instances, show the decision tree created by the ID3decision tree learning algorithm. Show the information gain calculations that you computedto create the tree. Be sure to indicate the class value to associate with each leaf of the treeand the set of instances that are associated with each leaf.1

Attachments:

Answers

(11)
Status NEW Posted 20 May 2017 10:05 AM My Price 9.00

-----------

Attachments

file 1495275684-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)