The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Exception: java.lang.ArrayIndexOutOfBoundsException"
bistoon_mf
Member Posts: 3 Contributor I
Hello there,
I am using RM for a simple text clustering task. I load my sentences from excel and want to cluster them using the Kmeans clustering operator. I am encountering a weird situation. When I choose EuclideanDistance as distance measure the process works and produce the result. However when I choose CorrelationSimilarity as measure, it gives me an error. RM itself says that the current setting doesn't seem to have a problem and when I check the log the error is: SEVERE: java.lang.ArrayIndexOutOfBoundsException.
Does anybody have any idea about the source of error?
I am using RM for a simple text clustering task. I load my sentences from excel and want to cluster them using the Kmeans clustering operator. I am encountering a weird situation. When I choose EuclideanDistance as distance measure the process works and produce the result. However when I choose CorrelationSimilarity as measure, it gives me an error. RM itself says that the current setting doesn't seem to have a problem and when I check the log the error is: SEVERE: java.lang.ArrayIndexOutOfBoundsException.
Does anybody have any idea about the source of error?
Tagged:
0
Answers
this seems to be a bug. Could you please post your process setup here so we can file a bug report?
Best,
Nils
We are currently evaluating if we should allow CorrelationMeasure for kMeans, because of this undefined input. As far as I know it is not even clear if kMeans converges with this measure. At least for my simple and small data set and with the option "Determine good start values" the process does not stop running.
Nevertheless, I will come back to you after we have clarified this. In the meantime could you post your exception so that I can at least see where this exception is thrown? Otherwise I cannot help if i cannot reproduce the error.
Beside that: Are you sure you want to use the CorrelationSimalarity? Typically CosineSimalarity is used in text mining, but often mixed up with the CorrelationSimalarity because of the quite similar names.