Spaces:
Sleeping
Sleeping
File size: 340 Bytes
0a6b4ab 7049740 0a6b4ab |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# Here, we monkey patch scikit-learn until this
# issue is fixed: https://github.com/scikit-learn/scikit-learn/issues/25922
from sklearn.utils import validation
def _ensure_no_complex_data(*args, **kwargs):
...
try:
validation._ensure_no_complex_data = _ensure_no_complex_data
except AttributeError: # pragma: no cover
...
|