Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scikit-learn problems and Topographic product with SOMPY? #2

Open
olafjarroyo opened this issue Jul 20, 2021 · 1 comment · May be fixed by #5
Open

Scikit-learn problems and Topographic product with SOMPY? #2

olafjarroyo opened this issue Jul 20, 2021 · 1 comment · May be fixed by #5

Comments

@olafjarroyo
Copy link

Hello,
I have one problem and one question:

1)While loading the SOMperf libraries, I receive an error from the external methods: No module named 'sklearn.metrics.cluster.supervised'. Research online suggest this might occur because of a mix of pip and conda-versions of libraries, but I tried in another computer with only conda-installed libraries, and sadly the same problem occurs.

  1. Is there a way to estimate the topographic product with SOMperf using SOMPY?

Thank you very much!

Olaf

@FlorentF9
Copy link
Owner

Hi,

  1. it seems that the module name has changed, a fix has been suggested in this issue. When I have some time I will update the code for the latest versions.

  2. Have you already tried using somperf.metrics.topographic_product ? You just need to provide the code vectors obtained with SOMpy, and the distance function on the map (probably, sompy.utils.rectangular_topology_dist).

@mirwisek mirwisek linked a pull request May 14, 2024 that will close this issue
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 a pull request may close this issue.

2 participants