liveBook · Manning

PyTorch Geometric Data

A PyTorch Geometric Data object is a container for graph connectivity, node and edge attributes, labels, and other graph-level information.

How 2 Manning books explain it

Build AI Drug Discovery Pipelines

A PyTorch Geometric Data object is a container for graph node features, connectivity indices, labels, and optional graph attributes.

How it is used
Represents molecule or protein graphs for drug–target affinity prediction.
How deep it goes
Defines core fields and batching needs, but stops short of graph neural network architecture details.
Examples
Uses atom features, edge indices, affinity labels, and paired molecule–protein graphs with different sizes.
What you can do after
Operate/configure graph samples and mini-batches for affinity-model training.

Read how Build AI Drug Discovery Pipelines explains PyTorch Geometric Data →

Graph Neural Networks in Action

A PyTorch Geometric Data object is a container for graph connectivity and associated node, edge, or graph-level attributes.

How it is used
Packages graph structure, features, labels, and masks for PyG preprocessing and GNN training.
How deep it goes
Explains conversion, tensor attachment, masks, message passing, and dense-sparse trade-offs without detailing Data internals.
Examples
Uses from_networkx conversion, data.x and data.y assignments, edge_index-based GCN input, masks, and ToSparseTensor conversion.
What you can do after
Builds a PyG graph container from NetworkX data and configures it for dense or sparse GNN computation.

Read how Graph Neural Networks in Action explains PyTorch Geometric Data →

Also covered in

What to know first

Related concepts

Questions about PyTorch Geometric Data

What is PyTorch Geometric Data?

A PyTorch Geometric Data object is a container for graph connectivity, node and edge attributes, labels, and other graph-level information.

Which Manning books explain PyTorch Geometric Data?

Build AI Drug Discovery Pipelines and Graph Neural Networks in Action.

What should I know before learning PyTorch Geometric Data?

Manning books that teach PyTorch Geometric Data usually introduce graph neural network first.

What is PyTorch Geometric Data a kind of?

PyTorch Geometric Data is a kind of data object. A data object is a structured unit of data represented or managed by a software system.

What is PyTorch Geometric Data part of?

PyTorch Geometric Data is part of PyTorch Geometric. PyTorch Geometric is an open-source Python library that extends PyTorch with data structures and operators for graph and geometric machine learning.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.