Python graph-neural-networks

Open-source Python projects categorized as graph-neural-networks

Top 23 Python graph-neural-network Projects

graph-neural-networks
  • pytorch_geometric

    Graph Neural Network Library for PyTorch

    Project mention: PyTorch Geometric – Graph Neural Network Library for PyTorch | news.ycombinator.com | 2024-06-24
  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • dgl

    Python package built to ease deep learning on graph, on top of existing DL frameworks.

  • anomaly-detection-resources

    Anomaly detection related books, papers, videos, and toolboxes

    Project mention: anomaly-detection-resources: NEW Extended Research - star count:7507.0 | /r/algoprojects | 2023-10-24
  • RecBole

    A unified, comprehensive and efficient recommendation library

    Project mention: RecBole – A unified, comprehensive and efficient recommendation library | news.ycombinator.com | 2024-01-17
  • SuperGluePretrainedNetwork

    SuperGlue: Learning Feature Matching with Graph Neural Networks (CVPR 2020, Oral)

  • pytorch_geometric_temporal

    PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Models (CIKM 2021)

  • spektral

    Graph Neural Networks with Keras and Tensorflow 2.

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • ogb

    Benchmark datasets, data loaders, and evaluators for graph machine learning

  • torchdrug

    A powerful and flexible machine learning platform for drug discovery

  • pygod

    A Python Library for Graph Outlier Detection (Anomaly Detection)

    Project mention: RAG Using Structured Data: Overview and Important Questions | news.ycombinator.com | 2024-01-10

    Ok, using ChatGPT and Bard (the irony lol) I learned a bit more about GNNs:

    GNNs are probabilistic and can be trained to learn representations in graph-structured data and handling complex relationships, while classical graph algorithms are specialized for specific graph analysis tasks and operate based on predefined rules/steps.

    * Why is PyG it called "Geometric" and not "Topologic" ?

    Properties like connectivity, neighborhoods, and even geodesic distances can all be considered topological features of a graph. These features remain unchanged under continuous deformations like stretching or bending, which is the defining characteristic of topological equivalence. In this sense, "PyTorch Topologic" might be a more accurate reflection of the library's focus on analyzing the intrinsic structure and connections within graphs.

    However, the term "geometric" still has some merit in the context of PyG. While most GNN operations rely on topological principles, some do incorporate notions of Euclidean geometry, such as:

    - Node embeddings: Many GNNs learn low-dimensional vectors for each node, which can be interpreted as points in a vector space, allowing geometric operations like distances and angles to be applied.

    - Spectral GNNs: These models leverage the eigenvalues and eigenvectors of the graph Laplacian, which encodes information about the geometric structure and distances between nodes.

    - Manifold learning: Certain types of graphs can be seen as low-dimensional representations of high-dimensional manifolds. Applying GNNs in this context involves learning geometric properties on the manifold itself.

    Therefore, although topology plays a primary role in understanding and analyzing graphs, geometry can still be relevant in certain contexts and GNN operations.

    * Real world applications:

    - HuggingFace has a few models [0] around things like computational chemistry [1] or weather forecasting.

    - PyGod [2] can be used for Outlier Detection (Anomaly Detection).

    - Apparently ULTRA [3] can "infer" (in the knowledge graph sense), that Michael Jackson released some disco music :-p (see the paper).

    - RGCN [4] can be used for knowledge graph link prediction (recovery of missing facts, i.e. subject-predicate-object triples) and entity classification (recovery of missing entity attributes).

    - GreatX [5] tackles removing inherent noise, "Distribution Shift" and "Adversarial Attacks" (ex: noise purposely introduced to hide a node presence) from networks. Apparently this is a thing and the field is called "Graph Reliability" or "Reliable Deep Graph Learning". The author even has a bunch of "awesome" style lists of links! [6]

    - Finally this repo has a nice explanation of how/why to run machine learning algorithms "outside of the DB":

    "Pytorch Geometric (PyG) has a whole arsenal of neural network layers and techniques to approach machine learning on graphs (aka graph representation learning, graph machine learning, deep graph learning) and has been used in this repo [7] to learn link patterns, also known as link or edge predictions."

    --

    0: https://huggingface.co/models?pipeline_tag=graph-ml&sort=tre...

    1: https://github.com/Microsoft/Graphormer

    2: https://github.com/pygod-team/pygod

    3: https://github.com/DeepGraphLearning/ULTRA

    4: https://huggingface.co/riship-nv/RGCN

    5: https://github.com/EdisonLeeeee/GreatX

    6: https://edisonleeeee.github.io/projects.html

    7: https://github.com/Orbifold/pyg-link-prediction

  • deep_gcns_torch

    Pytorch Repo for DeepGCNs (ICCV'2019 Oral, TPAMI'2021), DeeperGCN (arXiv'2020) and GNN1000(ICML'2021): https://www.deepgcns.org

  • DeepRobust

    A pytorch adversarial library for attack and defense methods on images and graphs

  • graphtransformer

    Graph Transformer Architecture. Source code for "A Generalization of Transformer Networks to Graphs", DLG-AAAI'21.

  • DGFraud

    A Deep Graph-based Toolbox for Fraud Detection

  • qagnn

    [NAACL 2021] QAGNN: Question Answering using Language Models and Knowledge Graphs 🤖

  • efficient-gnns

    Code and resources on scalable and efficient Graph Neural Networks

  • EquiBind

    EquiBind: geometric deep learning for fast predictions of the 3D structure in which a small molecule binds to a protein

  • dance

    DANCE: a deep learning library and benchmark platform for single-cell analysis (by OmicsML)

  • pna

    Implementation of Principal Neighbourhood Aggregation for Graph Neural Networks in PyTorch, DGL and PyTorch Geometric

  • STEP

    Code for our SIGKDD'22 paper Pre-training-Enhanced Spatial-Temporal Graph Neural Network For Multivariate Time Series Forecasting. (by GestaltCogTeam)

  • DiffSBDD

    A Euclidean diffusion model for structure-based drug design.

  • how_attentive_are_gats

    Code for the paper "How Attentive are Graph Attention Networks?" (ICLR'2022)

  • PyNeuraLogic

    PyNeuraLogic lets you use Python to create Differentiable Logic Programs

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python graph-neural-networks discussion

Log in or Post with

Python graph-neural-networks related posts

  • PyTorch Geometric – Graph Neural Network Library for PyTorch

    1 project | news.ycombinator.com | 24 Jun 2024
  • Please help I'm suffering | RuntimeError: mat1 and mat2 must have the same dtype

    1 project | /r/StableDiffusion | 5 Dec 2023
  • Looking for Point Cloud deep learning, training sources

    2 projects | /r/deeplearning | 13 Jul 2023
  • Why is the loss not decreasing with Pytorch Geometric GATv2Conv (and GATconv) ??

    1 project | /r/pytorch | 18 May 2023
  • MetaPath2Vec from Pytorch geometric with HeteroData Dataset

    1 project | /r/pytorch | 31 Mar 2023
  • [N] PyG 2.3.0 released: PyTorch 2.0 support, native sparse tensor support, explainability and accelerations

    1 project | /r/MachineLearning | 23 Mar 2023
  • Ask HN: ML Papers to Implement

    3 projects | news.ycombinator.com | 24 Jan 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 16 Sep 2024
    InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards. Learn more →

Index

What are some of the best open-source graph-neural-network projects in Python? This list will help you:

Project Stars
1 pytorch_geometric 20,936
2 dgl 13,355
3 anomaly-detection-resources 8,228
4 RecBole 3,330
5 SuperGluePretrainedNetwork 3,174
6 pytorch_geometric_temporal 2,615
7 spektral 2,365
8 ogb 1,916
9 torchdrug 1,424
10 pygod 1,298
11 deep_gcns_torch 1,133
12 DeepRobust 972
13 graphtransformer 848
14 DGFraud 677
15 qagnn 620
16 efficient-gnns 526
17 EquiBind 464
18 dance 346
19 pna 334
20 STEP 325
21 DiffSBDD 316
22 how_attentive_are_gats 293
23 PyNeuraLogic 277

Sponsored
Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com

Did you konow that Python is
the 1st most popular programming language
based on number of metions?