Documentation of 'jsat.clustering.dissimilarity.ClusterDissimilarity' Java class
ClusterDissimilarity
jsat.clustering.dissimilarity

Interface ClusterDissimilarity

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      ClusterDissimilarity clone() 
      double dissimilarity(java.util.List<DataPoint> a, java.util.List<DataPoint> b)
      Provides the notion of dissimilarity between two sets of points, that may not have the same number of points.
      double dissimilarity(java.util.Set<java.lang.Integer> a, java.util.Set<java.lang.Integer> b, double[][] distanceMatrix)
      Provides the notion of dissimilarity between two sets of points, that may not have the same number of points.
      double distance(DataPoint a, DataPoint b)
      Provides the notion of distance, or dissimilarity, between two data points
    • Method Detail

      • distance

        double distance(DataPoint a,
                        DataPoint b)
        Provides the notion of distance, or dissimilarity, between two data points
        Parameters:
        a - the first data point
        b - the second data point
        Returns:
        a value >= 0 that is a measure of the difference between the two points. The closer to zero, the more similar the points are.
      • dissimilarity

        double dissimilarity(java.util.List<DataPoint> a,
                             java.util.List<DataPoint> b)
        Provides the notion of dissimilarity between two sets of points, that may not have the same number of points.
        Parameters:
        a - the first cluster of points
        b - the second cluster of points
        Returns:
        a value >= 0 that describes the dissimilarity of the two clusters. The larger the value, the more different the two clusterings are.
      • dissimilarity

        double dissimilarity(java.util.Set<java.lang.Integer> a,
                             java.util.Set<java.lang.Integer> b,
                             double[][] distanceMatrix)
        Provides the notion of dissimilarity between two sets of points, that may not have the same number of points. This is done using a matrix containing all pairwise distance computations between all points.
        Parameters:
        a - the first set of indices of the original data set that are in a cluster, which map to distanceMatrix
        b - the second set of indices of the original data set that are in a cluster, which map to distanceMatrix
        distanceMatrix - the upper triangual distance matrix as created by AbstractClusterDissimilarity.createDistanceMatrix(jsat.DataSet, jsat.clustering.dissimilarity.ClusterDissimilarity)
        Returns:
        a value >= 0 that describes the dissimilarity of the two clusters. The larger the value, the more different the two clusterings are.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.