gov.sandia.cognition.learning.algorithm.clustering.hierarchy
Interface BatchHierarchicalClusterer<DataType,ClusterType extends Cluster<DataType>>
- Type Parameters:
DataType
- The type of data to cluster.ClusterType
- The type of cluster created by the clustering algorithm.
- All Known Implementing Classes:
- AgglomerativeClusterer, PartitionalClusterer
public interface BatchHierarchicalClusterer<DataType,ClusterType extends Cluster<DataType>>
The BatchHierarchicalClusterer
interface defines the functionality
of a batch hierarchical clustering algorithm. It takes a collection of
elements and returns the root node of the hierarchical cluster for those
elements.
- Since:
- 2.1
- Author:
- Justin Basilico
clusterHierarchically
ClusterHierarchyNode<DataType,ClusterType> clusterHierarchically(Collection<? extends DataType> elements)
- Performs hierarchical clustering on the given elements. It returns the
root node of the hierarchy of clusters for the given elements.
- Parameters:
elements
- The elements to cluster.
- Returns:
- The root node of the hierarchical cluster for the given
elements.