bdy9527 / SDCN

Structural Deep Clustering Network
Apache License 2.0
262 stars 73 forks source link

what about data without labels? #12

Closed marcoramosw closed 3 years ago

marcoramosw commented 4 years ago

Do you need data labels(y) before calculating the clusters? I can see it as an argument for graph KNN

bdy9527 commented 3 years ago

In calcu_graph.py, we use the labels to calculate some statistics of the constructed graphs, which has nothing to do with the construction process of the graph. If your dataset does not contain labels, you can delete line 12, 40 and 41.