From a868498c18aa73190295897b8cd143bdb5efe903 Mon Sep 17 00:00:00 2001 From: CW <16984757+LC4311@users.noreply.github.com> Date: Wed, 31 Aug 2022 21:00:12 +0800 Subject: [PATCH] [doc] Update prediction.rst (#8214) --- doc/prediction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/prediction.rst b/doc/prediction.rst index 8d2243d42..85d8b6150 100644 --- a/doc/prediction.rst +++ b/doc/prediction.rst @@ -153,7 +153,7 @@ underlying booster is ``gbtree`` or ``dart``, which means as long as tree model prediction itself should thread safe. But the safety is only guaranteed with prediction. If one tries to train a model in one thread and provide prediction at the other using the same model the behaviour is undefined. This happens easier than one might expect, for -instance we might accidientally call ``clf.set_params()`` inside a predict function: +instance we might accidentally call ``clf.set_params()`` inside a predict function: .. code-block:: python