Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given the scenario below; it is a small sample dataset for the student engagement in class routines and a prediction to whether such student will
Given the scenario below; it is a small sample dataset for the student engagement in class routines and a prediction to whether such student will pass or fail a particular course. You're required to apply the decision tree using Entropy and Gain Ratio to determine the factors that most significantly influence the outcome.
Hints or simply and if it happens you encounter set it to
tableStudy Hours,Attendance,tablePreviousGradesParticipation,ResultLowPoor,Low,NoFailMediumFair,Medium,Yes,PassHighGood,High,Yes,PassLowGood,Low,NoFailMediumPoor,Medium,NoFailHighFair,High,Yes,PassLowFair,Low,Yes,FailMediumGood,Medium,NoPassHighPoor,High,Yes,PassLowFair,Medium,Yes,Fail
Repeat question a using Gini index and gain ratio. Compare the final decision tree you obtain in both a and here. Is there any difference? If there is or not, explain the reason.
Hints: the steps for computing gain ratio are the same in a and b and the splitting information formula remains the same in both cases ie it uses Logarithm. Only the gini index computation differs.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started