我试图使用Seaborn函数之一生成clustermap。
目前,它允许我对行和列使用相同的度量(Pearson、Euclidean等),但仍然难以使用不同的度量,这与MATLAB的clustergram不同
基于this
To use different metrics (or methods) for rows and columns, you may construct each linkage matrix yourself and provide them as {row,col}_linkage.
但是有人知道怎么做吗
Tags:
可以使用^{} 获得链接矩阵
以下是一个例子:
相关问题 更多 >
编程相关推荐