Dear all,
I just found out that there's a difference in the number clusters retrieved when using FindClusters and ClusteringComponents for the same data set, even when completely the same settings are used:
Do[
koppels = RandomReal[{0, 100}, 500];
cl = FindClusters[koppels, DistanceFunction -> EuclideanDistance, Method -> "Optimize"];
indices2 = ClusteringComponents[koppels, Automatic, 1, DistanceFunction -> EuclideanDistance, Method -> "Optimize"];
Print[{First@Dimensions[cl], Max[indices2]}];,
{i, 1, 6}]
{2,2}
{2,2}
{1,2}
{2,2}
{1,2}
{1,2}
This shouldn't be the case, because the same clusters should be found either way.
Does someone have an idea of what's going on here?
Thanks for the information!
Jan