The maximum number of bins limits algorithm complexity and helps prevent
overfitting. Higher values allow more granular discretization but may
capture noise rather than signal.
For credit scoring applications, max_bins is typically set between
5 and 10 to balance predictive power with interpretability. Values above
15 are rarely necessary and may indicate overfitting.