Question: Q 1 . ( 2 5 pts ) . Consider the following dataset that presents samples of conditions during different days when there was an
Q 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.
tableSNotableWeatherconditiontableRoadconditiontableTrafficconditiontableEngineproblemAccidentRain,bad,high,noyessnow,average,normal,yes,yesclear,bad,light,nonoclear,good,light,yes,yessnow,good,normal,nonorain,average,light,nonorain,good,normal,nonosnow,bad,high,noyesclear,good,high,yes,yesclear,bad,high,yes,yes
Build a GiniIndex 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
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
