marth2king

Dendrogram needs x labels

Oct 30th, 2020 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. linked = linkage(x_sc, method = 'ward')
  2.  
  3. plt.figure(figsize=(15, 10))
  4. dendrogram(linked,
  5. orientation='top',
  6. )
  7. plt.title('Hierarchical clustering for GYM')
  8. plt.xlabel('Clusters Groups')
  9. plt.ylabel('Distance Between Clusters')
  10. plt.show();
Add Comment
Please, Sign In to add comment