Closed filaPro closed 4 years ago
Doesn't work with scikit-learn>=0.23.0 as logsumexp was removed from sklearn.utils.fixes.
from metric_learn import NCA
cannot import name 'logsumexp' from 'sklearn.utils.fixes'
Looks like we're using the scikit-learn backport of logsumexp, which they removed in favor of using the official scipy version: https://github.com/scikit-learn/scikit-learn/pull/16725
logsumexp
Description
Doesn't work with scikit-learn>=0.23.0 as logsumexp was removed from sklearn.utils.fixes.
Steps/Code to Reproduce
from metric_learn import NCA
Actual Results
cannot import name 'logsumexp' from 'sklearn.utils.fixes'