Skip to content

Commit

Permalink
Fix parameter documentation
Browse files Browse the repository at this point in the history
The documentation refers to `max_bins`, where the actual parameter is `max_bin`.
  • Loading branch information
hcho3 committed Aug 2, 2017
1 parent 0e06d18 commit b4c6e41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/parameter.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Parameters for Tree Booster
- 'lossguide': split at nodes with highest loss change.
* max_leaves, [default=0]
- Maximum number of nodes to be added. Only relevant for the 'lossguide' grow policy.
* max_bins, [default=256]
* max_bin, [default=256]
- This is only used if 'hist' is specified as `tree_method`.
- Maximum number of discrete bins to bucket continuous features.
- Increasing this number improves the optimality of splits at the cost of higher computation time.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public void testFastHistoLossGuideMaxBin() throws XGBoostError {
put("tree_method", "hist");
put("grow_policy", "lossguide");
put("max_leaves", 8);
put("max_bins", 16);
put("max_bin", 16);
put("eval_metric", "auc");
}
};
Expand Down

0 comments on commit b4c6e41

Please sign in to comment.