I'm using the hierarchical clustering to generate groups from unlabeled dataset (or observations). I’m using the matlab function Z_SAMPLES = linkage(id,'average','@distcustomfun');
with my custom function distcustomfun
.
I’m interested in finding the observation the most representative of each cluster? Any idea how can I find this observation.
average
which itself is not tied with an idea of medoid, centroid or other "representative" or "central" place inside the cluster. So, your representative observation will be not related to the optimization function done by the clustering. $\endgroup$