Question: This is for a Python data mining class. Decision trees splitting rules: entropy or Gini. Using Gini impurity measure and entropy assess the two possible
This is for a Python data mining class.



Decision trees splitting rules: entropy or Gini. Using Gini impurity measure and entropy assess the two possible splits below, and identify the split that leads to higher reduction in impurity or higher information gain. The data is for 15 cases in Titanic dataset. D is for 'Died', S is for 'Survived'. Split 1: Age>42 Split 2: Ticket>18 S D S D SS D D D S WW D D SD D S DS D SS D D Ds D DS D D D S D SS D D D D DS D D SS WVW WAW DS DS D D S DS D DSS D D
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
