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

How to work with sm._bmu,sm.bmu_ind_to_xy() and get information about the BMU values, indices and co-ordinates of the map? #106

Open
choco-boy opened this issue Jul 8, 2019 · 0 comments

Comments

@choco-boy
Copy link

sm._bmu, is an numpy array of shape : (2,no.of rows in input data)
[1st row:index values, 2nd row:bmu values, columns=no of rows in the given input data].
sm.bmu_ind_to_xy() => this function takes bmu indices as arguments and returns the (x,y) co-ordinates in the map and the index value.
if bmu_xy=sm.bmu_ind_to_xy(sm._bmu[0]), then bmu_xy has the shape of (no.of rows in input data,3)
[no of rows in data=no of rows in bmu_xy, column=x co-ordinate, y co-ordinate, index value of the corresponding data]

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