Maximum depth
One of the essential hyperparameters used in decision trees is their maximum depth.
But unfortunately, that’s not the only thing the classroom had to remember for their test. There were many more hyperparameters with funny names and responsibilities, and they barely had time to prepare for the exam.
As soon as Isabella looked at the first section of the test, her heart dropped. It was all about decision trees, and she spent most of her time focusing on neural networks.
The first question didn’t seem too tricky, however.
Which of the following is the correct definition of the maximum depth of a decision tree?
The maximum depth of a decision tree is the length of the longest path from the tree’s root to a leaf.
The maximum depth of a decision tree is the length of the shortest path from the tree’s root to a leaf.
The maximum depth of a decision tree is the length of the longest path from the tree’s root to an interior node.
The maximum depth of a decision tree is the length of the shortest path from the tree’s root to an interior node.