Skip to content

Commit

Permalink
[jvm-packages] minor fix of params (dmlc#4114)
Browse files Browse the repository at this point in the history
  • Loading branch information
rongou authored and CodingCat committed Feb 8, 2019
1 parent f8ca296 commit 2a9b085
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
(value: Int) => value >= 0)

final def getMaxLeaves: Int = $(maxDepth)
final def getMaxLeaves: Int = $(maxLeaves)


/**
Expand Down

0 comments on commit 2a9b085

Please sign in to comment.