public class PolynomialHierarchicalClusteringTrainer extends Object
Constructor and Description |
---|
PolynomialHierarchicalClusteringTrainer(Polynomial[] polynomials)
Constructor of the Hierarchical trainer
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Main method
|
PolynomialCluster[] |
train(int tagetClusterSize,
String linkageType)
This function clusters polynomials using Hierarchical (agglomerative approach) clustering procedure, using a polynomial
distance function.
|
public PolynomialHierarchicalClusteringTrainer(Polynomial[] polynomials)
polynomials
- - array of polynomial coefficients ( minimum length of polynomials should be three )NullPointerException
- if input polynomial array is nullIllegalArgumentException
- if length of array of polynomial coefficients is less than threepublic PolynomialCluster[] train(int tagetClusterSize, String linkageType)
tagetClusterSize
- the target cluster sizelinkageType
- the linkage type used for Hierarchical clustering ('Average', 'Complete', or 'Short')IllegalArgumentException
- if target cluster size is not less than initialized number of samplespublic static void main(String[] args)
args
- argsCopyright © 2000–2016 DFKI GmbH. All rights reserved.