Correct a mistake in Setting Parameters section (#7905)

This commit is contained in:
Sze Yeung 2022-05-16 09:56:31 +08:00 committed by GitHub
parent 4cd14aee5a
commit a06d53688c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ XGBoost can use either a list of pairs or a dictionary to set :doc:`parameters <
.. code-block:: python
evallist = [(dtest, 'eval'), (dtrain, 'train')]
evallist = [(dtrain, 'train'), (dtest, 'eval')]
Training
--------