Skip to content

Instantly share code, notes, and snippets.

@sevamoo
Created September 8, 2016 07:08
Show Gist options
  • Save sevamoo/035c56e7428318dd3065013625f12a11 to your computer and use it in GitHub Desktop.
Save sevamoo/035c56e7428318dd3065013625f12a11 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lidiasm
Copy link

lidiasm commented Jul 12, 2020

I am trying to install sompy but getting the error 'cannot import name 'SOM' from 'sompy' (/anaconda3/lib/python3.7/site-packages/sompy/init.py'

Please help

Any solution? I'm facing the same issue.

@rebelgiri
Copy link

rebelgiri commented Jul 12, 2020

Did you install sompy?

Create new environment in python and download the code from repo.
go to your python environment and traverse to downloaded code and run the script
python setup.py install

@lidiasm
Copy link

lidiasm commented Jul 12, 2020

I tried that and it didn't work. I finally installed it following the next steps:

  1. pip install SOMPY-master.zip
  2. pip install ipdb

Is there any documentation somewhere? It's difficult to use some methods without documentation or examples.

@rebelgiri
Copy link

rebelgiri commented Jul 13, 2020

Example:
https://gist.github.com/sevamoo/035c56e7428318dd3065013625f12a11

I think we have only this example..
We need to read the code..
There some more SOM libraries, in case you need them
minisom : https://github.com/JustGlowing/minisom/blob/master/examples/Iris.ipynb (well documented, author available on twitter)
neupy : Self-Organizing Feature Maps (SOFM or SOM)
somoclu and SimpSOM

@anisioti
Copy link

Hello,
I would like to create a map not only with the trained instances, but also with unseen data that are going to be used by the function project_by(I assume). Is there a way to do something like this? Thanks

@akol67
Copy link

akol67 commented Jul 4, 2021

Indeed, good question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment