Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC]: Example of KNN graph generation #3

Open
2 tasks done
mbruhns opened this issue Apr 24, 2024 · 3 comments
Open
2 tasks done

[DOC]: Example of KNN graph generation #3

mbruhns opened this issue Apr 24, 2024 · 3 comments
Assignees
Labels
doc Improvements or additions to documentation feature request New feature or request

Comments

@mbruhns
Copy link

mbruhns commented Apr 24, 2024

How would you describe the priority of this documentation request

Medium

Describe the future/missing documentation

It would be great to have a few examples/tutorials on how to generate a KNN graph (e.g., for Leiden clustering) based onNearestNeighbors from cuML. These example could cover different cases of (un)directed and (un)weighted graphs.

Where have you looked?

https://docs.rapids.ai/api/cugraph/stable/

https://docs.rapids.ai/api/cugraph/nightly/

Code of Conduct

  • I agree to follow cuGraph's Code of Conduct
  • I have searched the open documentation issues and have found no duplicates for this bug report
@mbruhns mbruhns added the doc Improvements or additions to documentation label Apr 24, 2024
@acostadon acostadon self-assigned this Apr 24, 2024
@acostadon
Copy link
Contributor

I will look into this and see where we can put it on our task list.

@acostadon acostadon added the feature request New feature or request label Apr 24, 2024
@acostadon
Copy link
Contributor

@cjnolet was able to point out this example workflow.

https://github.com/NVIDIA-Genomics-Research/rapids-single-cell-examples/blob/master/notebooks/hlca_lung_cpu_analysis.ipynb

Does it help?

if you need more, let me know.

@mbruhns
Copy link
Author

mbruhns commented May 3, 2024

The example is for CPU, right? I am aware of the rapids-single-cell library, but I don't want to rely on its implementation of neighborhood, since I don't want to apply fuzzy_simplicial_set on my graph. I looked into the implementation of rapids-single-cell and figured out how they generate the KNN graph, maybe that code snippet could be used as one example?

@acostadon acostadon transferred this issue from rapidsai/cugraph May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Improvements or additions to documentation feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants