From e8e4cdb97a2f448f65dde2e6c1f5851fe015126c Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sun, 6 Oct 2024 01:48:51 -0500 Subject: [PATCH] Update python-package/lightgbm/sklearn.py --- python-package/lightgbm/sklearn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-package/lightgbm/sklearn.py b/python-package/lightgbm/sklearn.py index e2b3e423a8a..a3829170ae3 100644 --- a/python-package/lightgbm/sklearn.py +++ b/python-package/lightgbm/sklearn.py @@ -1141,7 +1141,7 @@ def n_features_in_(self) -> int: def n_features_in_(self, value: int) -> None: """Set number of features found in passed-in dataset. - Starting with ``scikit-learn`` 1.6, ``scikit-learn` expects to be able to directly + Starting with ``scikit-learn`` 1.6, ``scikit-learn`` expects to be able to directly set this property in functions like ``validate_data()``. .. note::