[jvm-packages] minor fix of params (#4114)

This commit is contained in:
Rong Ou 2019-02-08 00:21:59 -08:00 committed by Nan Zhu
parent f8ca2960fc
commit 2a9b085bc8

View File

@ -62,7 +62,7 @@ private[spark] trait BoosterParams extends Params {
"Maximum number of nodes to be added. Only relevant when grow_policy=lossguide is set.", "Maximum number of nodes to be added. Only relevant when grow_policy=lossguide is set.",
(value: Int) => value >= 0) (value: Int) => value >= 0)
final def getMaxLeaves: Int = $(maxDepth) final def getMaxLeaves: Int = $(maxLeaves)
/** /**