Skip to content

Distributed HDBSCAN - #9

Merged
graceli24 merged 7 commits into
llnl:developfrom
graceli24:distributed_hdbscan
Aug 26, 2026
Merged

Distributed HDBSCAN#9
graceli24 merged 7 commits into
llnl:developfrom
graceli24:distributed_hdbscan

Conversation

@graceli24

Copy link
Copy Markdown
Collaborator
  • Add implementation of distributed HDBSCAN, found in src/clustering/run_distributed_hdbscan_clustering.cpp and helper files.
  • Update script/benchmark/run_clams_bench.py to accept a flag --distributed_hdbscan to run the distributed implementation instead of the serial implementation.
  • In both the serial and distributed HDBSCAN implementations, add when the edge distance is 0, calculate lambda = 1/distance to be the max possible value of distance_t. This is in an effort to reduce undefined inf or nan behavior if there are duplicate points with distance 0 between them.
  • Add a note in the readme that its best to deduplicate data first before running the code.

@graceli24
graceli24 requested a review from KIwabuchi August 25, 2026 23:57
@graceli24

Copy link
Copy Markdown
Collaborator Author

There is currently an inconsistent bug that sometimes the distributed HDBSCAN code gets stuck using YGM multi_output to write cluster labels or data to file. It seems to reach that part of the code and then get hung up on creating the new directory to dump the files to. I think this is inconsistent and sometimes the writing to file works smoothly and other times it gets stuck.

@KIwabuchi

KIwabuchi commented Aug 26, 2026

Copy link
Copy Markdown
Member

@graceli24 Looks good to me! Feel free to merge it when it's convenient for you.

@graceli24
graceli24 merged commit 16d9d24 into llnl:develop Aug 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants