What steps will reproduce the problem?
Clustering cluster = new HierarchicalAgglomerativeClustering();
cluster.cluster(matrix, 10, System.getProperties());
What is the expected output? What do you see instead?
Expected output: a correct clustering
Observed output:
Exception in thread "main" java.lang.IllegalArgumentException: No enum const
class edu.ucla.sspace.common.Similarity$SimType.cosineSimilarity
at java.lang.Enum.valueOf(Enum.java:196)
at edu.ucla.sspace.common.Similarity$SimType.valueOf(Similarity.java:60)
at edu.ucla.sspace.clustering.HierarchicalAgglomerativeClustering.cluster(HierarchicalAgglomerativeClustering.java:210)
at edu.ucla.sspace.clustering.HierarchicalAgglomerativeClustering.cluster(HierarchicalAgglomerativeClustering.java:192)
Please use labels and text to provide additional information.
the default value should be cosine, not cosineSimilarity
Original issue reported on code.google.com by FozzietheBeat@gmail.com on 3 Aug 2010 at 4:52
Original issue reported on code.google.com by
FozzietheBeat@gmail.com
on 3 Aug 2010 at 4:52