Question: Exercise 01. Classification: Decision Tree (14 Marks) We want to learn a model to determine if a customer is interested in buying a certain product

 Exercise 01. Classification: Decision Tree (14 Marks) We want to learn

Exercise 01. Classification: Decision Tree (14 Marks) We want to learn a model to determine if a customer is interested in buying a certain product (Yes or No), depending on his gender, age, marital status, and his income. The following table shows the sample of model training: 1. Calculate the entropy of the Dataframe. 3 Marks 2. Calculate the Gain/entropy of all features. 4 Marks 3. Built the optimized decision tree 4 Marks

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!