Code Monkey home page Code Monkey logo

somperf's Introduction

Florent's GitHub stats Florent's top languages

somperf's People

Contributors

florentf9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

somperf's Issues

Missing sklearn modules

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.

Is there an option to obtain the BMU value directly?

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?

TRAIN / TEST x epoch ?

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

Scikit-learn problems and Topographic product with SOMPY?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.