Clustering sometimes crashes JPlag #1247
Labels
bug
Issue/PR that involves a bug
help wanted
Feel free to give us a hand! Contributions welcome!
minor
Minor issue/feature/contribution/change
The default clustering method of JPlag is SpectralClustering, which uses
org.apache.commons.math3.linear.EigenDecomposition
for the eigenvalue decomposition.EigenDecomposition has a hard-coded limit for the number of iterations until the algorithm must converge or it throws an unhandled
MaxCountExceededException
.The limit is set to 30 and as a private field without a setter cannot be changed:
private byte maxIter = 30;
This results in JPlag sometimes crashing when the eigenvalue decomposition doesn't converge.
The text was updated successfully, but these errors were encountered: