Open steelec opened 2 years ago
given python, i don't think they can make things really private. but the module name changed from sklearn.manifold.spectral_embedding_
to sklearn.manifold._spectral_embedding
(https://github.com/scikit-learn/scikit-learn/blob/main/sklearn/manifold/_spectral_embedding.py). we may have to try both imports to account for pre and post versions, or simply change it the latter and require sklearn 1.0 or greater (perhaps better).
do you think you could send a PR for this ?
Hopefully this is what you meant, PR here #21
We were testing your package out and noted that it works with some versions of sklearn but not others. This appears to be due to the import statement in embed.py included below. I have not had a lot of time to track it down, but I think direct importing of these functions was removed in sklearn v .24 forward?
https://github.com/satra/mapalign/blob/907d6c443e099fdb282996c1768c895eb13f300f/mapalign/embed.py#L73