Decision trees are powerful algorithms used for solving regression and classification problems through the use of if-else conditions. They involve writing nested if-else statements and mimic human-level thinking. Decision trees can be used to determine the risks of a heart attack or whether someone is able to play golf. The features to split the tree are selected based on information gain, which measures the impurity of the node split. Decision trees can also be used for regression problems and can be pruned to prevent overfitting.
Table of contents
Machine Learning Algorithms(8) — Decision Tree AlgorithmHow do we calculate/identify a pure split?How the features are selected?Decision tree split for Numerical VariablesDecision Tree PruningSort: