Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Build a decision tree by calculating the overall entropy and the entropy for each independent variable. Which attribute would be used for the first split

Build a decision tree by calculating the overall entropy and the entropy for each independent variable. Which attribute would be used for the first split only (no need to build the whole decision tree)? Show all work. Your answer may be kept in fraction form. (10 points)

The following table shows some software metrics (independent variables) and whether the software has a high number of defects, or low number of defects.

Independent Variables

Dependent Variable

Program Vocabulary

Complexity

Lines of Code

Software Defects

Moderate

High

Few

Few

Moderate

High

Many

Many

Low

High

Many

Few

Moderate

High

Many

Few

Moderate

Low

Many

Few

Moderate

Low

Few

Many

Moderate

Low

Many

Many

High

Low

Many

Many

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

More Books

Students also viewed these Databases questions

Question

how to improve a database management system?

Answered: 1 week ago

Question

What is the cerebrum?

Answered: 1 week ago