florentf9 / somperf Goto Github PK
View Code? Open in Web Editor NEW:globe_with_meridians: SOMperf: Self-organizing maps performance metrics and quality indices
License: MIT License
:globe_with_meridians: SOMperf: Self-organizing maps performance metrics and quality indices
License: MIT License
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.
Thank you very much!
Olaf
MacOS Monterey 12.2.1
I'm using current stable sklearn (1.1.1), Python 3.8.9. I hit the following errors:
File "/Users/rene/.venv/ahead2/lib/python3.8/site-packages/SOMperf-0.2b0-py3.8.egg/somperf/metrics/external.py", line 6, in
ModuleNotFoundError: No module named 'sklearn.metrics.cluster.supervised'
somperf/metrics/external.py, line 6: from sklearn.metrics.cluster.supervised import check_clusterings
I managed to find sklearn source here (0.17.1): https://gemfury.com/stream/python:scikit-learn/-/content/metrics/cluster/supervised.py
; pasted the check_clusterings
definition into external.py
, reinstalled and then hit the following:
File "/Users/rene/.venv/ahead2/lib/python3.8/site-packages/SOMperf-0.2b0-py3.8.egg/somperf/metrics/external.py", line 7, in
ModuleNotFoundError: No module named 'sklearn.utils.linear_assignment_'
sklearn 0.17.1 won't build on my machine. 0.22.2 doesn't have these problems, but consistently segfaults.
Please add version numbers to requirements.txt
(and maybe reply here with them, too).
Thank you.
Hi there,
I am trying to use BMU values a metric to classify my data. Features are seismic attributes.
Your function “distance_from_weights” was my first guess but it´s not exporting BMUS directly. We do have to manipulate it to remove the second BMU.
np.argsort(distance_from_weights(data), axis=1)[:, :2] -----> np.argsort(distance_from_weights(data), axis=1)[:, :1]
Do you mind to build that function?
Hello Mr. Florent
Could we think to do crossplots train/test x epochs? If so do you mind to show us an example?
Alexandre Kolisnyk
Geophysicist
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.