From a06d53688cb880d07222161ebe3627119403fb3e Mon Sep 17 00:00:00 2001 From: Sze Yeung <87453738+SzeYeung1@users.noreply.github.com> Date: Mon, 16 May 2022 09:56:31 +0800 Subject: [PATCH] Correct a mistake in Setting Parameters section (#7905) --- doc/python/python_intro.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/python/python_intro.rst b/doc/python/python_intro.rst index 7dc7ef9da..7951fb3d4 100644 --- a/doc/python/python_intro.rst +++ b/doc/python/python_intro.rst @@ -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 --------