Skip to content

adamrehn/Cluster1D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Efficient hierarchical clustering for single-dimensional data using CUDA

This repository contains the implementation of the clustering algorithm presented in the paper:

Building from source

The following dependencies are required in order to build Cluster1D from source:

To build under macOS or Linux, run the following commands:

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

To build under Windows, run the following commands:

mkdir build && cd build
cmake -A x64 ..
cmake --build . --config Release

Performing clustering

(Running the built Cluster1D executable without any arguments will also print these usage instructions.)

Usage: Cluster1D <INFILE> <LINKAGE> [--r-format]

Input file should be a text file containing floats, one per line.

Supported linkage metrics:

  • single
  • complete

Specifying --r-format will transform the output into a form compatible with the default dendrogram representation used by the R hclust() function.

Output is written to stdout in CSV format.

About

Efficient hierarchical clustering for single-dimensional data using CUDA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published