Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(15 points) Consider a scenario in which you train a decision tree to classify credit card transactions into fraudulent (+) or legitimate (-). You have
(15 points) Consider a scenario in which you train a decision tree to classify credit card transactions into fraudulent (+) or legitimate (-). You have a dataset with 10,000 labeled transactions (5,000 + and 5,000 -). You randomly select 8,000 examples to build a decision tree with a minimum leaf size of 2 data points, then test your tree on the held-out 2,000 data points. You observe that your training error is 0.01 but your test error is 0.20. Explain why this might happen and the steps that you could take to improve the performance of the decision tree algorithm
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