public class HierClustering extends AbstractClustering
Hierarchical clustering with options of single, complete, and average linkage
Copyright: Copyright (c) 2006
Company: Drexel University
| Modifier and Type | Field and Description |
|---|---|
static int |
AVERAGE_LINKAGE |
static int |
COMPLETE_LINKAGE |
static int |
SINGLE_LINKAGE |
clusterNum, clusterSet, featureFilter, indexReader, randomSeed, showProgress| Constructor and Description |
|---|
HierClustering(IndexReader indexReader,
DocDistance distMetric,
int clusterNum,
int linkage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cluster(IRDoc[] arrDoc)
Cluster given testing documents to the given number of clusters
|
cluster, getCluster, getClusterNum, getClusterSet, getFeatureFilter, getIndexReader, getRandomSeed, setFeatureFilter, setRandomSeed, setShowProgresspublic static final int SINGLE_LINKAGE
public static final int AVERAGE_LINKAGE
public static final int COMPLETE_LINKAGE
public HierClustering(IndexReader indexReader, DocDistance distMetric, int clusterNum, int linkage)
public boolean cluster(IRDoc[] arrDoc)
ClusteringarrDoc - the document set for clusteringCopyright © 2018 JULIE Lab, Germany. All rights reserved.