A.M.L. - Chapter 3: Decision Tree Classifier

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

What is a decision tree classifier?

A supervised learning model used for classification and regression that predicts outcomes by following decision paths from root to leaf nodes.

2
New cards

What are the types of nodes in a decision tree?

Root node, internal nodes, and leaf nodes.

3
New cards

What is the goal of decision tree induction?

To create a model that predicts the output variable based on input variables using historical data.

4
New cards

What is entropy in decision trees?

A measure of impurity or randomness in the dataset. Lower entropy means higher purity.

5
New cards

How is information gain used in decision trees?

It helps select the attribute that best separates the classes by maximizing the reduction in entropy.

6
New cards

What is pruning in decision trees?

The process of removing unnecessary branches to reduce model complexity and prevent overfitting.

7
New cards

Why are smaller decision trees preferred?

They are more interpretable, generalize better, and reduce the risk of overfitting.

8
New cards

How can a decision tree be converted to rules?

Each path from root to leaf becomes an "if-then" rule describing a classification decision.

9
New cards

What is rule pruning?

Removing non-critical conditions or rules to simplify rule sets and improve generalization.

10
New cards

What Python library and class are used to build decision trees?

Scikit-learn’s DecisionTreeClassifier from the tree module.

11
New cards

What is a real-world advantage of using decision trees?

They can operate without full data upfront, making them ideal for applications like medical diagnosis.