I have a dataset on which on MATLAB/StatisticsToolbox I used linkage
, (method=ward), to obtain a separation through hierarchical clustering.
I want to separate those results such that the number of clusters is the one corresponding to the maximum lifetime. Is there a way to do this without having to observe each dendrogram (I have hundreds of datasets to apply this method, so this approach would be very time consuming)?
Thanks in advance