nlesc-sherlock / cluster-analysis

2 stars 4 forks source link

Use hierarchical clustering using scipy.cluster.hierarchy to cluster the patterns #10

Open benvanwerkhoven opened 8 years ago

benvanwerkhoven commented 8 years ago

The program camera_identification.py currently uses scipy.cluster.hierarchy to create a dendogram. A flat clustering is extracted from the dendogram using a particular threshold. The problem is that the threshold to use is related to the expected distances between the clusters in the dataset. Ideally we would like to have some way of dynamically determining the threshold to use. This can be a lot work, as it could mean that we have to implement our own algorithm for computing the linkage. In the end that means we are implementing our own hierarchical clustering algorithm.