Skip to content

Commit

Permalink
Merge pull request #881 from jplag/cluster-default-options
Browse files Browse the repository at this point in the history
Adapt clustering default options
  • Loading branch information
tsaglam authored Jan 20, 2023
2 parents 688c45b + 4ed7533 commit ed2b781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/de/jplag/clustering/ClusteringOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public ClusteringOptions(SimilarityMetric similarityMetric, double spectralKerne
}

public ClusteringOptions() {
this(SimilarityMetric.MAX, 20.f, 0.05 * 0.05, 5, 50, 200, 0.2, Preprocessing.CUMULATIVE_DISTRIBUTION_FUNCTION, true,
ClusteringAlgorithm.SPECTRAL, InterClusterSimilarity.AVERAGE, 0.2, 0.5);
this(SimilarityMetric.AVG, 20.f, 0.05 * 0.05, 5, 50, 200, 0.2, Preprocessing.CUMULATIVE_DISTRIBUTION_FUNCTION, true,
ClusteringAlgorithm.AGGLOMERATIVE, InterClusterSimilarity.AVERAGE, 0.2, 0.5);
}

public ClusteringOptions withSimilarityMetric(SimilarityMetric similarityMetric) {
Expand Down

0 comments on commit ed2b781

Please sign in to comment.