Unit 5 II Decision Tree, Regression
Unit 5 II Decision Tree, Regression
Decision Tree,
Regression
Decision Tree
• It is a supervised learning algorithm.
• Decision tree is a graph to represent choices and their results in
form of a tree.
• The nodes in the graph represent an event or choice and the
edges of the graph represent the decision rules or conditions.
• It can perform both regression and classification tasks.
• It uses a tree-like model based on various decisions that are
used to compute their outcomes.
• Examples of use of decision trees is − predicting an email as
spam or not spam, predicting a loan as a good or bad credit risk
based on the factors in each of these.
Decision Tree
Load package