Closed ZhiningLiu1998 closed 1 year ago
from https://github.com/scikit-learn/scikit-learn/blob/2a2772a87b6c772dc3b8292bcffb990ce27515a8/sklearn/utils/metaestimators.py#L144
.. deprecated:: 1.3 `if_delegate_has_method` is deprecated in version 1.1 and will be removed in version 1.3. Use `available_if` instead.
Need a fix to cooperate with sklearn > 1.3.0.
from https://github.com/scikit-learn/scikit-learn/blob/2a2772a87b6c772dc3b8292bcffb990ce27515a8/sklearn/utils/metaestimators.py#L144
Need a fix to cooperate with sklearn > 1.3.0.