|
@@ -152,11 +152,6 @@ public class JPlagOptions {
|
|
|
*/
|
|
*/
|
|
|
private int clusteringSpectralMaxKMeansIterationPerRun = 200;
|
|
private int clusteringSpectralMaxKMeansIterationPerRun = 200;
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- * Remove clusters that are evaluated as especially bad from the final set of clusters.
|
|
|
|
|
- */
|
|
|
|
|
- private boolean clusteringPruneBadClusters = true;
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* Preprocessing for the similarity values before clustering.
|
|
* Preprocessing for the similarity values before clustering.
|
|
|
* This is mandatory for spectral clustering and optional for agglomerative clustering.
|
|
* This is mandatory for spectral clustering and optional for agglomerative clustering.
|
|
@@ -349,10 +344,6 @@ public class JPlagOptions {
|
|
|
return clusteringSpectralMaxKMeansIterationPerRun;
|
|
return clusteringSpectralMaxKMeansIterationPerRun;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public boolean isClusteringPruneBadClusters() {
|
|
|
|
|
- return clusteringPruneBadClusters;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
public float getClusteringAgglomerativeThreshold() {
|
|
public float getClusteringAgglomerativeThreshold() {
|
|
|
return clusteringAgglomerativeThreshold;
|
|
return clusteringAgglomerativeThreshold;
|
|
|
}
|
|
}
|
|
@@ -450,10 +441,6 @@ public class JPlagOptions {
|
|
|
this.clusteringSpectralMaxKMeansIterationPerRun = clusteringSpectralMaxKMeansIterationPerRun;
|
|
this.clusteringSpectralMaxKMeansIterationPerRun = clusteringSpectralMaxKMeansIterationPerRun;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public void setClusteringPruneBadClusters(boolean clusteringPruneBadClusters) {
|
|
|
|
|
- this.clusteringPruneBadClusters = clusteringPruneBadClusters;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
public void setClusteringPreprocessor(Preprocessors clusteringPreprocessor) {
|
|
public void setClusteringPreprocessor(Preprocessors clusteringPreprocessor) {
|
|
|
this.clusteringPreprocessor = clusteringPreprocessor;
|
|
this.clusteringPreprocessor = clusteringPreprocessor;
|
|
|
}
|
|
}
|