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

Distance between hexagon centers #132

Open
wayneking517 opened this issue Aug 11, 2021 · 0 comments
Open

Distance between hexagon centers #132

wayneking517 opened this issue Aug 11, 2021 · 0 comments

Comments

@wayneking517
Copy link

When running:

sm = SOMFactory().build(data, mapsize=[10,10], normalization = 'var', initialization='random', component_names=names, lattice="hexa")
sm.train(n_job=1, verbose=False, train_rough_len=2, train_finetune_len=5)

from sompy.visualization.mapview import View2D
view2D  = View2D(10,10,"",text_size=10)
view2D.show(sm, col_sz=5, which_dim="all", denormalize=True)
plt.tight_layout()
plt.show()

I get overlapping hexagons. I'd like to adjust their spacing so that they just touch or even have a little space between them.

I have reviewed the source codes and can't seem to find where to make that adjustment.

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

1 participant