You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is going to be a serious issue as of sklearn version 0.20 because clone will raise an exception. The only workaround is to use wrap with compat=True.
This seems to happen for tuples, lists and ndarrays, among others.
import numpy as np
from sklearn_xarray import wrap
from sklearn.base import clone
from sklearn.decomposition import DictionaryLearning
dl = wrap(DictionaryLearning(dict_init=np.ones((100, 100))))
clone(dl)
The text was updated successfully, but these errors were encountered:
This is going to be a serious issue as of sklearn version 0.20 because
clone
will raise an exception. The only workaround is to usewrap
withcompat=True
.This seems to happen for tuples, lists and ndarrays, among others.
The text was updated successfully, but these errors were encountered: