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 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
Get step-by-step solutions from verified subject matter experts
