Add dart to JSON schema. (#5218)

* Add dart to JSON schema.

* Use spaces instead of tab.
This commit is contained in:
Jiaming Yuan
2020-01-28 13:29:09 +08:00
committed by GitHub
parent 0c7455276d
commit ef19480eda
3 changed files with 219 additions and 186 deletions

View File

@@ -201,6 +201,8 @@ Another important feature of JSON format is a documented `Schema
XGBoost. Here is the initial draft of JSON schema for the output model (not
serialization, which will not be stable as noted above). It's subject to change due to
the beta status. For an example of parsing XGBoost tree model, see ``/demo/json-model``.
Please notice the "weight_drop" field used in "dart" booster. XGBoost does not scale tree
leaf directly, instead it saves the weights as a separated array.
.. include:: ../model.schema
:code: json