ML: Decision Trees- Introduction & Interview Questions
--
ALGORITHM
The algorithm works by recursively splitting the data into subsets based on the values of the input variables, with the goal of maximizing the information gain at each step. The resulting tree can be used to make predictions for new instances.
The tree consists of nodes and branches. The nodes represent a decision or a test on a…