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

Interface KClusterer

    • Method Detail

      • cluster

        default java.util.List<java.util.List<DataPoint>> cluster(DataSet dataSet,
                                                                  int clusters,
                                                                  boolean parallel)
        Performs clustering on the given data set.
        Parameters:
        dataSet - the data points to perform clustering on
        clusters - the number of clusters to assume
        parallel - a source of threads to run tasks
        Returns:
        the java.util.List>
      • cluster

        int[] cluster(DataSet dataSet,
                      int clusters,
                      boolean parallel,
                      int[] designations)
      • cluster

        default java.util.List<java.util.List<DataPoint>> cluster(DataSet dataSet,
                                                                  int clusters)
        Performs clustering on the given data set.
        Parameters:
        dataSet - the data points to perform clustering on
        clusters - the number of clusters to assume
        Returns:
        A list of DataSets, where each DataSet contains the data points for one cluster in the group
      • cluster

        default int[] cluster(DataSet dataSet,
                              int clusters,
                              int[] designations)
      • cluster

        default java.util.List<java.util.List<DataPoint>> cluster(DataSet dataSet,
                                                                  int lowK,
                                                                  int highK,
                                                                  boolean parallel)
        Performs clustering on the given data set. The implementation will attempt to determine the best number of clusters for the given data.
        Parameters:
        dataSet - the data points to perform clustering on
        lowK - the lower bound, inclusive, of the range to search
        highK - the upper bound, inclusive, of the range to search
        parallel - a source of threads to run tasks
        Returns:
        the java.util.List>
      • cluster

        int[] cluster(DataSet dataSet,
                      int lowK,
                      int highK,
                      boolean parallel,
                      int[] designations)
      • cluster

        default java.util.List<java.util.List<DataPoint>> cluster(DataSet dataSet,
                                                                  int lowK,
                                                                  int highK)
        Performs clustering on the given data set. The implementation will attempt to determine the best number of clusters for the given data.
        Parameters:
        dataSet - the data points to perform clustering on
        lowK - the lower bound, inclusive, of the range to search
        highK - the upper bound, inclusive, of the range to search
        Returns:
        A list of DataSets, where each DataSet contains the data points for one cluster in the group
      • cluster

        default int[] cluster(DataSet dataSet,
                              int lowK,
                              int highK,
                              int[] designations)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.