Skip to content

Replace _is_pairwise import with _is_pairwise_metric for compatibility with scikit-learn 1.1 - #910

Merged
TomAugspurger merged 1 commit into
dask:mainfrom
cmarmo:update-is_pairwise
Apr 16, 2022
Merged

TomAugspurger merged 1 commit into
dask:mainfrom
cmarmo:update-is_pairwise

Conversation

@cmarmo

@cmarmo cmarmo commented Mar 24, 2022

Copy link
Copy Markdown
Contributor

Dear maintainers,

this pull request replaces the import of _is_pairwise with the import of _is_pairwise_metric for compatibility with scikit-learn 1.1 (hopefully to be released soon). About backward compatibility: _is_pairwise was deprecated in 0.24 (December 2020).
Fixes #908.

Thanks for considering it.

@TomAugspurger

Copy link
Copy Markdown
Member

Thanks. We require scikit-learn>=1.0.0 so this should be good.

CI failures look unrelated.

@TomAugspurger
TomAugspurger merged commit 67d28b1 into dask:main Apr 16, 2022
@cmarmo

cmarmo commented Apr 16, 2022

Copy link
Copy Markdown
Contributor Author

Thanks @TomAugspurger !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_is_pairwise removed in scikit-learn 1.1 should be replaced by _is_pairwise_metric

2 participants