Reading the MATLAB documentation for the function CLUSTERDATA it says that the 'ward' method is defined for Euclidean distances only. However, if I run the CLUSTERDATA function with 'ward' and 'cosine' options I obtain a warning and better results than running the function with the Euclidean distance.
MATLAB: What happens if I use the CLUSTERDATA function with the ‘ward’ method and the ‘cosine’ measure in Statistics Toolbox 8.1 (R2012b)
Statistics and Machine Learning Toolbox
Best Answer