Back to marketplace

Decision Tree Modeling

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What is tree-based learning? What does it do and how?

Back (Answer)

Tree-based learning is a type of - supervised machine learning - performs classification and regression tasks. - It uses a decision tree as a predictive model to go from observations about an item represented by the branches to conclusions about the items target value represented by the leaves.

#2
Front (Question)

Ensemble Learning

Back (Answer)

which enable you to use multiple decision trees simultaneously in order to produce very powerful models

#3
Front (Question)

What’s the benefit of hyperparameter tuning?

Back (Answer)

Knowing how and when to tune a model can help increase its performance significantly

#4
Front (Question)

What is a Decision Tree?

Back (Answer)

• non-parametric supervised learning algorithm (not based on assumptions about distribution) • for classification and regression tasks • It has a hierarchical tree structure consisting of a root node, branches, internal nodes, and leaf nodes.

#5
Front (Question)

How data professionals use decision tree?

Back (Answer)

to make predictions about future events based on the information that is currently available.

#6
Front (Question)

Decision Tree PROs

Back (Answer)

• require no assumptions on data’s distribution • handle collinearity easily. • requiring little preprocessing to prepare data for training

#7
Front (Question)

Decision Tree CONs

Back (Answer)

• susceptible to overfitting. • sensitive to variations in the training data. The model might get extremely good at predicting scene data, but as soon as new data is introduced, it may not work nearly as well.

#8
Front (Question)

What are made at each node?

Back (Answer)

Decisions are made at each node.

#9
Front (Question)

Edges

Back (Answer)

The edges connect together the nodes essentially directing from one node to the next along the tree.

#10
Front (Question)

What is a Root Node?

Back (Answer)

• It’s the first node in the tree • all decisions needed to make the prediction will stem from it • It’s a special type of decision node because it has no predecessors.

#11
Front (Question)

What is a Decision Node?

Back (Answer)

• All the nodes above the leaf nodes. • The nodes where a decision is made • always point to a leaf node or other decision nodes within the tree.

#12
Front (Question)

Leaf Node

Back (Answer)

• where a final prediction is made. • The whole process ends here as they do not split anymore

#13
Front (Question)

What are Child Nodes?

Back (Answer)

• any node that results from a split. • The nodes that are pointed to either leaf nodes or other decision nodes

#14
Front (Question)

What are Parent Nodes?

Back (Answer)

node that the child splits from

#15
Front (Question)

What prediction outcomes types can decision tree be used for?

Back (Answer)

• classification: where a specific class or outcome is predicted • regression: where a continuous variable is predicted—like the price of a car.

#16
Front (Question)

What is the criteria to split a Decision node?

Back (Answer)

A decision node is split on the criterion that minimizes the impurity of the classes in their resulting children.

#17
Front (Question)

What is Impurity?

Back (Answer)

• the degree of mixture with respect to class. • A perfect split would have no impurity in the resulting child nodes; it would partition the data with each child containing only a single class.

#18
Front (Question)

Name 4 metrics to determine impurity

Back (Answer)

• Gini impurity • entropy • information gain • log loss

#19
Front (Question)

What’s the requirement for choosing split points?

Back (Answer)

• identify what type of variable it is—categorical or continuous • the range of values that exist for that variable

#20
Front (Question)

Choosing split for categorical predictor variable

Back (Answer)

consider splitting based on the categorical variable, ie. color.

#21
Front (Question)

Choosing split for continuous predictor variable

Back (Answer)

splits can be made anywhere along the range of numbers that exist in the data Ie. sorting the fruit based on diameter: 2.25, 2.75, 3.25, 3.75, 5, and 6.5 centimeters.

#22
Front (Question)

Describe Gini impurity score

Back (Answer)

• most straightforward • the best scores are those closest to 0 • The worst score is 0.5, which would occur when each child node contains an equal number of each class.

#23
Front (Question)

Classification trees PROs

Back (Answer)

• Require few pre-processing steps. • Can work with all types of variables (continuous, categorical, discrete). • No normalization or scaling required • Decisions are transparent. • Not affected by extreme univariate values

#24
Front (Question)

Name 2 disadvantages of classification trees

Back (Answer)

• Can be computationally expensive relative to other algorithms. • sensitive to data changes. Small changes in data can result in significant changes in predictions