Update Python intro. [skip ci] (#7235)

* Fix the link to demo.
* Stop recommending text file inputs.
* Brief mention to scikit-learn interface.
* Fix indent warning in tree method doc.
This commit is contained in:
Jiaming Yuan
2021-09-21 10:47:09 +08:00
committed by GitHub
parent 61a619b5c3
commit 18bd16341a
3 changed files with 67 additions and 41 deletions

View File

@@ -85,16 +85,16 @@ Other Updaters
``min_split_loss (gamma)`` and ``max_depth``.
2. ``Refresh``: Refresh the statistic of built trees on a new training dataset. Like the
pruner, To use refresh independently, one needs to set the process type to update:
``{"process_type": "update", "updater": "refresh"}``. During training, the updater will
change statistics like ``cover`` and ``weight`` according to the new training dataset.
When ``refresh_leaf`` is also set to true (default), XGBoost will update the leaf value
according to the new leaf weight, but the tree structure (split condition) itself
doesn't change.
pruner, To use refresh independently, one needs to set the process type to update:
``{"process_type": "update", "updater": "refresh"}``. During training, the updater
will change statistics like ``cover`` and ``weight`` according to the new training
dataset. When ``refresh_leaf`` is also set to true (default), XGBoost will update the
leaf value according to the new leaf weight, but the tree structure (split condition)
itself doesn't change.
There are examples on both training continuation (adding new trees) and using update
process on ``demo/guide-python``. Also checkout the ``process_type`` parameter in
:doc:`parameter`.
There are examples on both training continuation (adding new trees) and using update
process on ``demo/guide-python``. Also checkout the ``process_type`` parameter in
:doc:`parameter`.
3. ``Sync``: Synchronize the tree among workers when running distributed training.