Max depth refers to the maximum number of levels or layers in a decision tree model. This parameter is crucial as it directly influences the complexity of the model, impacting both its ability to fit the training data and its generalization to new data. In boosting algorithms, controlling max depth helps in balancing bias and variance, making it essential for preventing overfitting while ensuring the model retains predictive power.
congrats on reading the definition of max depth. now let's actually learn it.