階層的クラスタリングってseaborn.clustermap()で ちょちょっとグラフをみる位しかしない為, この辺の話はあまり知らないので改めて. 「scipy.cluster.hierarchy.cut_tree」はカットされた木を返す. 要はクラスタを返すという事だろうか. どうも,バグが多そう……. Alternative for scipy.cluster.hierarchy.cut_tree() – StackOverflow データが持つ情報が不明なのでよく分からない. %matplotlib inline import matplotlib.pyplot as plt import seaborn as sns import numpy as np from scipy.cluster.hierarchy import linkage, is_valid_linkage,
![階層的クラスタリング](https://cdn-ak-scissors.b.st-hatena.com/image/square/7dd0eede45c9cb5199b5b8b112157e37b4ae7716/height=288;version=1;width=512/https%3A%2F%2Ffunmatu.wordpress.com%2Fwp-content%2Fuploads%2F2017%2F10%2Ffireshot-capture-646-jupyterlab-alpha-preview-http___localhost_8888_lab.png)