Documentation of 'jsat.clustering.MEDDIT' Java class
MEDDIT
jsat.clustering

Class MEDDIT

    • Method Detail

      • setTolerance

        public void setTolerance(double tolerance)
      • getTolerance

        public double getTolerance()
      • medoid

        public static int medoid(boolean parallel,
                                 java.util.List<? extends Vec> X,
                                 DistanceMetric dm)
        Computes the medoid of the data
        Parameters:
        parallel - whether or not the computation should be done using multiple cores
        X - the list of all data
        dm - the distance metric to get the medoid with respect to
        Returns:
        the index of the point in X that is the medoid
      • medoid

        public static int medoid(boolean parallel,
                                 java.util.List<? extends Vec> X,
                                 double tol,
                                 DistanceMetric dm)
        Computes the medoid of the data
        Parameters:
        parallel - whether or not the computation should be done using multiple cores
        X - the list of all data
        tol -
        dm - the distance metric to get the medoid with respect to
        Returns:
        the index of the point in X that is the medoid
      • medoid

        public static int medoid(boolean parallel,
                                 java.util.Collection<java.lang.Integer> indecies,
                                 java.util.List<? extends Vec> X,
                                 DistanceMetric dm,
                                 java.util.List<java.lang.Double> accel)
        Computes the medoid of a sub-set of data
        Parameters:
        parallel - whether or not the computation should be done using multiple cores
        indecies - the indexes of the points to get the medoid of
        X - the list of all data
        dm - the distance metric to get the medoid with respect to
        accel - the acceleration cache for the distance metric
        Returns:
        the index value contained within indecies that is the medoid
      • medoid

        public static int medoid(boolean parallel,
                                 java.util.Collection<java.lang.Integer> indecies,
                                 double tol,
                                 java.util.List<? extends Vec> X,
                                 DistanceMetric dm,
                                 java.util.List<java.lang.Double> accel)
        Computes the medoid of a sub-set of data
        Parameters:
        parallel - whether or not the computation should be done using multiple cores
        indecies - the indexes of the points to get the medoid of
        tol -
        X - the list of all data
        dm - the distance metric to get the medoid with respect to
        accel - the acceleration cache for the distance metric
        Returns:
        the index value contained within indecies that is the medoid

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.