News for hackers. Stuff that matters.
Re:Why I'm Lukewarm on Graph Neural Networks by enriquto on Monday January 04, 2021 @02:39PM (#25636768)
Indeed, the best support for large graphs in Python is found inside scipy.sparse
Re:Why I'm Lukewarm on Graph Neural Networks by lmeyerov on Monday January 04, 2021 @09:35PM (#25641361)
I've found sparse good for many-columns (10K+). However, for graphistry's graph workloads, we do most scipy-size graphs at much higher speeds via cudf + cugraph. Similar apis, more speed.

Ex: Preprocess many cols with scikit sparse (genomes, many-featured fraud, ...) -> cudf (= gpu dataframes) for most of workload -> infer relationships with gpu UMAP then gpu k-nn -> graphistry for visual analysis.

We're starting to experiment with bigger-than-memory (TB etc) scale via the gpu-enabled dask libs. I definitely recommend trying. If interested in adding visual analytics here, these'll be hitting our free + self-hosted layers soon, and drop a contact method if you'd like early access. Exciting times!

Re:Why I'm Lukewarm on Graph Neural Networks by jim22k on Monday January 04, 2021 @07:10PM (#25640150)
Anyone who is serious about graph analysis in Python using linear algebra should check out GraphBLAS (graphblas.org). The inclusion of semirings makes things like SSSP and BFS extremely elegant on sparse adjacency matrices.

The main implementation is SuiteSparse::GraphBLAS, a C library which has two Python bindings (search for grblas or pygraphblas). Disclosure: I'm the author of grblas. Both are available on conda-forge for easy installation.

If you want to try it out without installing, here is a binder link: https://mybinder.org/v2/gh/metagraph-dev/grblas/HEAD?filepat...

Re:Why I'm Lukewarm on Graph Neural Networks by VHRanger on Monday January 04, 2021 @10:05PM (#25641571)
Thanks!

What's the underlying data structure of the graph?