1
有沒有多維層次聚類的東西?多維層次聚類 - python
我都對着這些地方:
- http://docs.scipy.org/doc/scipy/reference/cluster.hierarchy.html
- http://scikit-learn.org/stable/modules/clustering.html
- http://docs.scipy.org/doc/scipy/reference/generated/scipy.cluster.hierarchy.dendrogram.html#scipy.cluster.hierarchy.dendrogram
,但沒有成功,到目前爲止
含義:查找組時相同的方式,是完成2維,但與multipl Ë尺寸
一些代碼:
import pandas as pd
import numpy as np
set_of_values = pd.DataFrame(
[np.random.rand(10),
np.random.rand(10),
np.random.rand(10),
np.random.rand(10),
np.random.rand(10),],
index=['temp differential', 'power differential', 'cost', 'time','output'],
columns=range(10)).transpose()
print(set_of_values)
我想找到(「溫度差」,「權力差」,「成本」,「時間」,「輸出」)中的所有集羣。因爲它是一個超平面。理想情況下使用[所有組]的輸出:
GROUP #1: (a,b,c,d,e), (a',b',c',d',e'), ... , (a'',b'',c'',d'',e'')
...
GROUP #n: ('a,'b,'c,'d,'e), ('a,'b,'c,'d,'e), ... , (''a,''b,''c,''d,''e)
給出了漸進式「聚類」的閾值。它可行嗎?
這是什麼IWAS尋找 – Asher11