Skip to content

Add warning in UMAP for nondeterministic behavior when build_algo=nn_descent#7620

Merged
rapids-bot[bot] merged 2 commits intorapidsai:mainfrom
jinsolp:umap-warn-nnd-nondeterministic
Dec 17, 2025
Merged

Add warning in UMAP for nondeterministic behavior when build_algo=nn_descent#7620
rapids-bot[bot] merged 2 commits intorapidsai:mainfrom
jinsolp:umap-warn-nnd-nondeterministic

Conversation

@jinsolp
Copy link
Copy Markdown
Contributor

@jinsolp jinsolp commented Dec 17, 2025

We don't support deterministic NN Descent. This PR raises a warning to the user when build_algo is given as nn_descent and random_state is also set.

@jinsolp jinsolp self-assigned this Dec 17, 2025
@jinsolp jinsolp requested a review from a team as a code owner December 17, 2025 02:20
@jinsolp jinsolp requested a review from dantegd December 17, 2025 02:20
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Dec 17, 2025
@jinsolp jinsolp added non-breaking Non-breaking change improvement Improvement / enhancement to an existing function labels Dec 17, 2025
Copy link
Copy Markdown
Contributor

@viclafargue viclafargue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jinsolp, good idea! I am improving the doc in parallel.

@jcrist
Copy link
Copy Markdown
Member

jcrist commented Dec 17, 2025

/merge

@rapids-bot rapids-bot bot merged commit 5839720 into rapidsai:main Dec 17, 2025
104 checks passed
mani-builds pushed a commit to mani-builds/cuml that referenced this pull request Jan 11, 2026
…_descent` (rapidsai#7620)

We don't support deterministic NN Descent. This PR raises a warning to the user when `build_algo` is given as `nn_descent` and `random_state` is also set.

Authors:
  - Jinsol Park (https://github.com/jinsolp)

Approvers:
  - Victor Lafargue (https://github.com/viclafargue)
  - Jim Crist-Harif (https://github.com/jcrist)

URL: rapidsai#7620
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants