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

Convert the clustering Python code to C++ #16

Open
mr-eyes opened this issue Jul 20, 2022 · 3 comments
Open

Convert the clustering Python code to C++ #16

mr-eyes opened this issue Jul 20, 2022 · 3 comments

Comments

@mr-eyes
Copy link
Member

mr-eyes commented Jul 20, 2022

The clustering script is currently written in Python, inefficient in large pairwise matrices. The adopted clustering technique relies on the graph-connected components.

I can consider working with retworkx, and I hope it's thread safe. I can also consider other C++ graph libs.

@mr-eyes
Copy link
Member Author

mr-eyes commented Jul 22, 2022

retworkx 3 Billion edges inserted in 75 minutes. 🚀

@mr-eyes
Copy link
Member Author

mr-eyes commented Jul 22, 2022

Most of the time is IO.

@mr-eyes
Copy link
Member Author

mr-eyes commented Jul 22, 2022

3,352,079,582 edges inserted in 1:27:12.

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

No branches or pull requests

1 participant