MODULE 2 S3.1 Flashcards
Decision Tree
They are widely used for classification and regression tasks.
Decision Trees
Decision trees learn a hierarchy of _________ questions, leading to a ____________.
if/else
decision
Learning a decision tree means learning the sequence of if/else questions that gets us to the __________ answer most quickly.
true
In the machine learning setting, questions are called _________
tests
T/F To build a tree, the algorithm searches over all possible tests and finds the one that is most informative about the target variable
True
The top node, which represents the whole dataset
root
Decision tree classes
DecisionTreeRegressor
DecisionTreeClassifier
We can visualize the tree using the ____________ function from the tree module.
export_graphiz
It is a text file format for storing graphs.
.dot
It is a diagram or chart that people use to determine a course of action or show a statistical probability.
Decision tree
____________ : feature (attribute)
____________ : decision (rule) or reaction
____________ : outcome
node
branch
leaf
Types of Decision Tree in Machine Learning
Classification trees
Regression trees
Decision Variables
Classification : _____________
Regression : ______________
categorical
continuous
The topmost node of a decision tree that represents the entire message or decision.
Root node
The process of dividing a bode into two or more nodes. It’s the part at which the decision branches off into variables.
Splitting