Skip to content

Commit df3b577

Browse files
committed
add explanation about dispatch heuristic
1 parent 040a244 commit df3b577

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cpp/src/hdbscan/detail/condense.cuh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ value_t get_lambda_host(value_idx node, value_idx num_points, const value_t* del
4747
}
4848

4949
/* Heuristic dispatching to bottom-up implementation. A high persistent_ratio means there are more
50-
chances to stop early as we climb up the tree, making it more efficient for bottom-up approach*/
50+
chances to stop early as we climb up the tree, making it more efficient for bottom-up approach
51+
Note: These thresholds are based on empirical observations from running the algorithm on
52+
datasets ranging from 30K to 5M points, with varying distributions and thread counts. For more
53+
details, please refer to the tables in this PR: https://github.com/rapidsai/cuml/pull/7459
54+
*/
5155
bool dispatch_to_bottom_up(int num_persistent, int n_leaves)
5256
{
5357
int n_nodes = 2 * n_leaves - 1;

0 commit comments

Comments
 (0)