Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given a decision tree model on a binary classification task, which among the following is the best way to check whether the tree is overfitting?

Given a decision tree model on a binary classification task, which among the following is the best way to check whether the tree is overfitting?

Plot the tree, if it has more than 10 leaves, it may be overfitting.

Plot the tree, if it has more than 25 nodes, it may be overfitting.

Look at the number of observations in each node, if any node has lesser than 50 observations, it may be overfitting.

Compare the accuracy of the tree model on the training and validation sets.

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

Students also viewed these Databases questions

Question

To find integral of sin(logx) .

Answered: 1 week ago