Advertisement
Guest User

Untitled

a guest
May 26th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. # Visualization class
  2. v = sompy.mapview.View2DPacked(msz0, msz1, 'test',text_size=12)
  3. v.show(sm, what='cluster')
  4.  
  5. h = sompy.hitmap.HitMapView(msz0, msz1, 'hitmap', text_size=12, show_text=True)
  6. h.show(sm)
  7.  
  8. vhts = BmuHitsView(4,4,"Hits Map",text_size=12)
  9. vhts.show(sm, anotate=True, onlyzeros=False, labelsize=12, cmap="Greys", logaritmic=False)
  10.  
  11. u = sompy.umatrix.UMatrixView(50, 50, 'umatrix', show_axis=True, text_size=12, show_text=True)
  12.  
  13. #This is the Umat value
  14. UMAT = u.build_u_matrix(sm, distance=1, row_normalized=False)
  15.  
  16. #Here you have Umatrix plus its render
  17. 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