Question: Q 1 . ( 2 5 pts ) . Consider the following dataset that presents samples of conditions during different days when there was an

Q1.(25 pts). Consider the following dataset that presents samples of conditions during different days when there was an accident or no accident on a particular road.
\table[[SNo.,\table[[Weather],[condition]],\table[[Road],[condition]],\table[[Traffic],[condition]],\table[[Engine],[problem]],Accident],[1,Rain,bad,high,no,yes],[2,snow,average,normal,yes,yes],[3,clear,bad,light,no,no],[4,clear,good,light,yes,yes],[5,snow,good,normal,no,no],[6,rain,average,light,no,no],[7,rain,good,normal,no,no],[8,snow,bad,high,no,yes],[9,clear,good,high,yes,yes],[10,clear,bad,high,yes,yes]]
Build a Gini-Index based Decision tree for the above dataset. Show all the Gini Index calculations and steps in the construction of the decision tree.
Predict whether there will be an accident or not for the following combination of conditions:
Weather condition = clear
Road condition = average
Traffic condition = high
Engine problem = no
 Q1.(25 pts). Consider the following dataset that presents samples of conditions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!