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

Initialise with a regular map #12

Open
milankl opened this issue Jun 17, 2019 · 1 comment
Open

Initialise with a regular map #12

milankl opened this issue Jun 17, 2019 · 1 comment

Comments

@milankl
Copy link

milankl commented Jun 17, 2019

At the moment the som.codes are initialised with random rows from the input data. In case one wants to have a more regular gridding intially, something like this works

som = initSOM(train,nx,ny)
som.codes[:,:] = som.grid

However, wouldn't it be nice to have an optional argument in initSOM, for regularly spaced codes given min,max of the dataset?

@andreasdominik
Copy link
Member

That's indeed a good idea - I will add this as soon as I find some time!
Thank you for the hint.
(a)

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

No branches or pull requests

2 participants