From 2a658a8f34e725fa81402420f516f995976842f7 Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Sun, 8 Dec 2024 22:48:11 +0100 Subject: [PATCH] remove debug --- python-package/lightgbm/compat.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python-package/lightgbm/compat.py b/python-package/lightgbm/compat.py index 45650a93f1a5..377d1fae47c5 100644 --- a/python-package/lightgbm/compat.py +++ b/python-package/lightgbm/compat.py @@ -33,7 +33,6 @@ _LGBMComputeSampleWeight = compute_sample_weight _LGBMValidateData = validate_data except ImportError: - raise SKLEARN_INSTALLED = False class _LGBMModelBase: # type: ignore