diff --git a/python-package/lightgbm/sklearn.py b/python-package/lightgbm/sklearn.py index fb7a7fa91c1a..ac3957543894 100644 --- a/python-package/lightgbm/sklearn.py +++ b/python-package/lightgbm/sklearn.py @@ -730,7 +730,7 @@ def _get_meta_data(collection, name, i): if callbacks is None: callbacks = [] else: - callbacks = copy.deepcopy(callbacks) + callbacks = copy.copy(callbacks) # don't use deepcopy here to allow non-serializable objects if verbose != 'warn': _log_warning("'verbose' argument is deprecated and will be removed in a future release of LightGBM. "