Question: ( 6 3 marks ) Assume you have the table below containing information about the Golden Gophers soccer games. For every game recorded, there is
marks Assume you have the table below containing information about the Golden Gophers
soccer games. For every game recorded, there is an entry eg row for whether it took place on a
Friday, Saturday, or Sunday, whether the team's star, Whirling Willie, started the game or came in
off the bench later, whether the defenseman Donnie played on the left or right of the field, whether
the offensive player Otto played on the left or right of the field, whether the opponent's team was
on average young below years of age or old, and, finally, whether the Golden Gophers won
or lost. Suppose "Outcome" is the targetlabel attribute with "Won" labeling positive and
"Lost" labeling negative Use ID to learn a decision tree. You are required to show how you
calculate the information entropy for selecting attributes in every step in detail. For the selection
of attribute at each node of the tree, show:
the calculation of conditional information entropy for each candidate attribute including the
cases of all its possible values;
the selection of attribute based on the conditional information entropy;
the partialfinal decision tree once the attribute is selected;
the rules if any.
Note: ID is not a conditional attribute.
begintabularccccccc
hline ID & When & WW Starts & Donnie & Otto & OppAge & Outcome
hline hline & Sat & Yes & Left & Left & Young & Won
& Sat & Yes & Left & Left & Old & Won
& Sat & Yes & Left & Left & Old & Won
& Sat & Yes & Left & Right & Young & Won
& Sat & Yes & Left & Right & Young & Won
& Sat & Yes & Left & Right & Old & Won
& Sat & Yes & Right & Left & Old & Won
& Sat & Yes & Right & Right & Young & Won
& Sat & No & Left & Right & Young & Won
& Sun & No & Left & Left & Young & Won
& Sun & No & Left & Right & Young & Won
& & & & & &
& Fri & Yes & Left & Right & Old & Lost
& Fri & Yes & Right & Right & Old & Lost
& Fri & No & Right & Left & Old & Lost
& Fri & No & Right & Right & Old & Lost
& Sat & No & Left & Left & Young & Lost
& Sat & No & Right & Left & Young & Lost
& Sat & No & Right & Right & Old & Lost
& Sun & No & Right & Left & Young & Lost
& Sun & No & Right & Left & Old & Lost
hline
endtabular
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
