Skip to content

Commit

Permalink
fix incorrect import
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Shinnar <shinnar@us.ibm.com>
  • Loading branch information
shinnar committed Feb 13, 2024
1 parent 0703f3e commit ecd1d12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lale/lib/autogen/mini_batch_sparse_pca.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from numpy import inf, nan
from packaging import version
from sklearn.decomposition import MiniBatchSparsePCA as Op
from sklearn.utils._available_if import available_if
from sklearn.utils.metaestimators import available_if

from lale.docstrings import set_docstrings
from lale.operators import make_operator, sklearn_version
Expand Down
2 changes: 1 addition & 1 deletion lale/lib/autogen/sparse_pca.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from numpy import inf, nan
from sklearn.decomposition import SparsePCA as Op
from sklearn.utils._available_if import available_if
from sklearn.utils.metaestimators import available_if

from lale.docstrings import set_docstrings
from lale.operators import make_operator
Expand Down
2 changes: 1 addition & 1 deletion lale/lib/imblearn/base_resampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import warnings

from sklearn.utils._available_if import available_if
from sklearn.utils.metaestimators import available_if


class _BaseResamplerImpl:
Expand Down

0 comments on commit ecd1d12

Please sign in to comment.