Skip to content
Permalink
Browse files
Unused "import".
  • Loading branch information
Gilles Sadowski committed Jan 24, 2022
1 parent 49a38cd commit 134d731a6bc048bfe29754fb294ad64b12b67827
Showing 1 changed file with 5 additions and 6 deletions.
@@ -19,8 +19,6 @@
import java.util.Collection;
import java.util.List;

import org.apache.commons.math4.legacy.exception.ConvergenceException;
import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException;
import org.apache.commons.math4.legacy.ml.distance.DistanceMeasure;

/**
@@ -48,10 +46,11 @@ protected Clusterer(final DistanceMeasure measure) {
*
* @param points the set of {@link Clusterable} instances
* @return a {@link List} of clusters
* @throws MathIllegalArgumentException if points are null or the number of
* data points is not compatible with this clusterer
* @throws ConvergenceException if the algorithm has not yet converged after
* the maximum number of iterations has been exceeded
* @throws IllegalArgumentException if points are null or the number of
* data points is not compatible with this clusterer.
* @throws org.apache.commons.math4.legacy.exception.ConvergenceException
* if the algorithm has not yet converged after the maximum number of
* iterations has been exceeded.
*/
public abstract List<? extends Cluster<T>> cluster(Collection<T> points);

0 comments on commit 134d731

Please sign in to comment.