Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

(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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago