Skip to content

Phở Founder Lifetime: $59 once, 1 year of Phở AI included. Limited seats. See the offer

Research · Skill

PyTorch Geometric (PyG)

Supports PyTorch Geometric (PyG) graph neural networks — node/link/graph classification, message passing (GCN, GAT, GraphSAGE, GIN), heterogeneous graphs, neighbor sampling, and custom datasets. Use when working with torch_geometric, not for general NetworkX analytics or non-graph PyTorch models.

Open in Phở

What the skill covers

The sections of its instructions, in order.

  1. 01 Installation
  2. 02 Core Concepts
  3. Graph Data: Data and HeteroData
  4. Datasets
  5. Transforms
  6. 03 Building GNN Models
  7. Quick Start: Using Built-in Layers
  8. Choosing a Conv Layer
  9. Lazy Initialization
  10. High-Level Model APIs
  11. Custom Layers via MessagePassing
  12. 04 Task-Specific Patterns
  13. Node Classification
  14. Graph Classification
  15. Link Prediction
  16. 05 Scaling to Large Graphs
  17. 06 Heterogeneous Graphs
  18. Three ways to build heterogeneous GNNs
  19. 07 Custom Datasets
  20. 08 Explainability

Reference files

7 files Phở can open while it uses the skill.

  • references/custom_datasets.md
  • references/explainability.md
  • references/heterogeneous.md
  • references/link_prediction.md
  • references/message_passing.md
  • references/review.md
  • references/scaling.md

More in Scientific Python

  • CZ CELLxGENE Census

    Queries the CZ CELLxGENE Census programmatically for versioned public single-cell and spatial transcriptomics data. Use when you need population-scale cell metadata, gene…

  • Cirq - Quantum Computing with Python

    Google quantum computing framework. Use when targeting Google Quantum AI hardware, designing noise-aware circuits, or running quantum characterization experiments. Best for…

  • Datamol Cheminformatics Skill

    Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors…

  • Histolab

    Extracts and preprocesses whole-slide histology image tiles with Histolab. Use for WSI inspection, tissue masks, random/grid/score-based tile extraction, H&E stain normalization…

  • LaminDB

    Manages biological datasets and models with LaminDB, including artifact registration, lineage tracking, schema validation, Bionty ontology annotation, query/search, collections…

  • Molecular Dynamics

    Runs and analyzes molecular dynamics simulations with OpenMM and MDAnalysis. Sets up protein/small molecule systems, defines force fields, runs energy minimization and production…

  • Molfeat — Small-molecule featurization

    Featurizes small molecules with Molfeat for QSAR/QSPR, chemical similarity, virtual screening, and molecular ML. Covers ECFP/MACCS fingerprints, RDKit descriptors…

  • GPU Optimization for Python with NVIDIA

    GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas…

  • PennyLane

    Builds and differentiates PennyLane quantum circuits, hybrid PyTorch or JAX models, molecular VQE and QAOA workflows. Use for variational quantum algorithms, quantum machine…

  • polars-bio

    Performs genomic interval overlap, nearest, merge, coverage, complement and subtraction on Polars DataFrames, and reads or writes BED, VCF, BCF, BAM, CRAM, GFF, GTF, FASTA and…

  • TileDB-VCF

    Stores and retrieves genomic variant calls with TileDB-VCF. Use for indexed single-sample VCF/BCF ingestion, incremental cohorts, region and sample queries, streaming results…

  • TorchDrug

    Builds and troubleshoots TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein…

  • Transformers

    Hugging Face Transformers for loading Hub models, running pipeline inference, text generation, and Trainer fine-tuning on NLP, vision, audio, and multimodal tasks. Applies when…

  • Vaex

    Processes large tabular scientific datasets with Vaex expressions, filtered views, streamed statistics, binned visualizations, and file conversion. Use for larger-than-RAM HDF5…

  • Zarr Python

    Stores and queries chunked N-D scientific arrays with Zarr-Python 3, including codecs, sharding, S3/GCS storage, and NumPy/Dask/Xarray integration. Use for array layout, bounded…

Similar research skills

Frequently asked questions

What does PyTorch Geometric (PyG) do?

Supports PyTorch Geometric (PyG) graph neural networks — node/link/graph classification, message passing (GCN, GAT, GraphSAGE, GIN), heterogeneous graphs, neighbor sampling, and custom datasets. Use when working with torch_geometric, not for general NetworkX analytics or non-graph PyTorch models.

Is PyTorch Geometric (PyG) free to use?

Yes. PyTorch Geometric (PyG) is published by K-Dense under the MIT licence, and you can use it with a free Phở account.

How do I use PyTorch Geometric (PyG) in Phở?

Press Open in Phở, then Try to apply it to your next message, or add the Scientific Python set so Phở loads it whenever a request matches.

Does PyTorch Geometric (PyG) need other tools?

No. It works in a normal Phở chat with what you type or upload.

Copied unchanged from K-Dense-AI/claude-scientific-skills at commit a25cf9e and credited to K-Dense, who is not affiliated with Phở. The full instructions and licence text ship with the skill inside Phở.