rapidsai / node

GPU-accelerated data science and visualization in node
https://rapidsai.github.io/node/
Apache License 2.0
187 stars 20 forks source link

Add preliminary hypergraph functions #323

Closed bryevdv closed 3 years ago

bryevdv commented 3 years ago

This PR adds ports of the Python cugraph functions for hypergraph transform. A simple Graph class that does just enough to get hypergraph test running has been added. I expect we will want to expand Graph in the future as more use-cases come up. All major tests have been ported.

Lastly, this work differs from the Python implementation in that the hyper/direct cases are split into separate functions.

bryevdv commented 3 years ago

Merging, per discussion w/ @trxcllnt Issue/PR to add fixed prefix concatenate and categorical improvements based on that to follow separately.