A decision tree is a flowchart like structure. Let us understand the tree structure in detail.
1- Root is used for taking an input sample. Now the roots ask a sample series of questions at a non-leaf node and output a value at the leaf nodes.
Depending upon the nature of its values we have different types of decision trees. If the output variable is categorical then it is a classification tree and it the output variable is continuous then it is regression trees. This is the reason we also called it a CART(classification and regression trees)
Comments