# Depth of a decision tree

Since the decision tree algorithm split on an attribute at every step, the maximum depth of a decision tree is equal to the number of attributes of the data. Is this correct?

• +1, but this plot does leave something to be desired. Which branch represents yes, eg? It might help to post the dataset & code, if that's doable. – gung - Reinstate Monica May 18 '18 at 14:05
• What I mean is, suppose alcohol = 10.50 (ie, alcohol < 10.53), do you then proceed down the right or left branch of the tree? – gung - Reinstate Monica May 18 '18 at 14:35