Skip to content

Commit

Permalink
Refactor the CLI. (#5574)
Browse files Browse the repository at this point in the history
* Enable parameter validation.
* Enable JSON.
* Catch `dmlc::Error`.
* Show help message.
  • Loading branch information
trivialfis authored Apr 26, 2020
1 parent 7d93932 commit c90457f
Show file tree
Hide file tree
Showing 8 changed files with 420 additions and 206 deletions.
4 changes: 2 additions & 2 deletions doc/parameter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ General Parameters
is displayed as warning message. If there's unexpected behaviour, please try to
increase value of verbosity.

* ``validate_parameters`` [default to false, except for Python and R interface]
* ``validate_parameters`` [default to false, except for Python, R and CLI interface]

- When set to True, XGBoost will perform validation of input parameters to check whether
a parameter is used or not. The feature is still experimental. It's expected to have
some false positives, especially when used with Scikit-Learn interface.
some false positives.

* ``nthread`` [default to maximum number of threads available if not set]

Expand Down
Loading

0 comments on commit c90457f

Please sign in to comment.