An open API service indexing awesome lists of open source software.

https://github.com/qedsoftware/sparsehc

Online hierarchical clustering, "forked" from BitBucket. Modifying it so that it compiles.
https://github.com/qedsoftware/sparsehc

Last synced: about 1 year ago
JSON representation

Online hierarchical clustering, "forked" from BitBucket. Modifying it so that it compiles.

Awesome Lists containing this project

README

          

sparsehc: Memory-efficient hierarchical clustering

Compile:

From Eclipse: Add the whole downloaded project to workspace and build
From Linux terminal: Go to the Release folder and type "make"
The executable file is Release/sparsehc

Command:

./sparsehc --matrix= --tree= --size=
--threshold= --linkage=

Parameters:

--matrix=%s Path to the input matrix file
--tree=%s Path to the output tree file
--size=%u Number of data points
--dim=%u Dimension of each point
--threshold=%f The maximum distance value in the input distance matrix
--linkage=%s The linkage type: average, complete or single

Example:

./sparsehc --matrix=/Data/sparse_matrix.dat --tree=/Data/average_tree.txt --size=100 --threshold=0.5 --linkage=average

Data:

To randomly generate pairwise Euclidean distance matrices of different sizes and dimensions:
https://bitbucket.org/ngthuydiem/simmat