-
Notifications
You must be signed in to change notification settings - Fork 28.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-34093][ML] param maxDepth should check upper bound
### What changes were proposed in this pull request? update the ParamValidators of `maxDepth` ### Why are the changes needed? current impl of tree models only support maxDepth<=30 ### Does this PR introduce _any_ user-facing change? If `maxDepth`>30, fail quickly ### How was this patch tested? existing testsuites Closes #31163 from zhengruifeng/param_maxDepth_upbound. Authored-by: Ruifeng Zheng <ruifengz@foxmail.com> Signed-off-by: Sean Owen <srowen@gmail.com>
- Loading branch information
1 parent
dee596e
commit d8cbef1
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters