weka.clusterers

## Interface NumberOfClustersRequestable

- All Known Implementing Classes:
    Canopy, EM, MakeDensityBasedClusterer, SimpleKMeans

      public interface NumberOfClustersRequestable

  Interface to a clusterer that can generate a requested number of clusters
  Version:
    $Revision: 8034 $
  Author:
    Mark Hall

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setNumClusters(int numClusters)` Set the number of clusters to generate

- - ### Method Detail

    - #### setNumClusters

          void setNumClusters(int numClusters)
                              throws java.lang.Exception

      Set the number of clusters to generate
      Parameters:
        `numClusters` - the number of clusters to generate
      Throws:
        `java.lang.Exception` - if the requested number of clusters in inapropriate