Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Visualization class
- v = sompy.mapview.View2DPacked(msz0, msz1, 'test',text_size=12)
- v.show(sm, what='cluster')
- h = sompy.hitmap.HitMapView(msz0, msz1, 'hitmap', text_size=12, show_text=True)
- h.show(sm)
- vhts = BmuHitsView(4,4,"Hits Map",text_size=12)
- vhts.show(sm, anotate=True, onlyzeros=False, labelsize=12, cmap="Greys", logaritmic=False)
- u = sompy.umatrix.UMatrixView(50, 50, 'umatrix', show_axis=True, text_size=12, show_text=True)
- #This is the Umat value
- UMAT = u.build_u_matrix(sm, distance=1, row_normalized=False)
- #Here you have Umatrix plus its render
- UMAT = u.show(sm, distance2=1, row_normalized=False, show_data=True, contooor=True, blob=False)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement