Class CanopyClustering


  • public final class CanopyClustering
    extends java.lang.Object
    Sequential canopy clusterer.
    Author:
    thomas.jungblut
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<de.jungblut.math.DoubleVector> createCanopies​(java.util.List<de.jungblut.math.DoubleVector> pPoints, DistanceMeasurer measure, double t1, double t2, boolean verbose)
      Creates a list of canopies.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createCanopies

        public static java.util.List<de.jungblut.math.DoubleVector> createCanopies​(java.util.List<de.jungblut.math.DoubleVector> pPoints,
                                                                                   DistanceMeasurer measure,
                                                                                   double t1,
                                                                                   double t2,
                                                                                   boolean verbose)
        Creates a list of canopies. Make sure that t1 > t2!
        Parameters:
        points - the points to cluster.
        measure - the distance measurer to use.
        t1 - the outer cluster distance (fuzzy).
        t2 - the inner cluster distance (exclusive).
        verbose - if true, output about timinings and number of clusters.
        Returns:
        a list of canopy centers.