set maxBins to 256. Align with c code in src/tree/param.h (#6066)

This commit is contained in:
FelixYBW 2020-08-28 05:06:11 -07:00 committed by GitHub
parent 9bddecee05
commit 3a990433f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -282,7 +282,7 @@ private[spark] trait BoosterParams extends Params {
setDefault(eta -> 0.3, gamma -> 0, maxDepth -> 6,
minChildWeight -> 1, maxDeltaStep -> 0,
growPolicy -> "depthwise", maxBins -> 16,
growPolicy -> "depthwise", maxBins -> 256,
subsample -> 1, colsampleBytree -> 1, colsampleBylevel -> 1,
lambda -> 1, alpha -> 0, treeMethod -> "auto", sketchEps -> 0.03,
scalePosWeight -> 1.0, sampleType -> "uniform", normalizeType -> "tree",