liveBook · Manning

Graph

As explained in Build AI Drug Discovery Pipelines

A graph representation encodes entities as nodes and relationships or connections as edges.

A graph encodes entities as nodes and relationships as edges. Formally, it consists of vertices V, edges E, and features attached to nodes, edges, or the whole graph. section 11.2

Graph representations support machine-learning workflows for drug discovery:

  • They convert molecules and proteins into machine-readable structures. section 11.2
  • They preserve connectivity and spatial relationships that fixed-length feature vectors may require engineers to hand-craft. section 11.8
  • Graph neural networks learn context-aware node representations by repeatedly aggregating information from local neighborhoods. section 11.8

Molecular and protein graphs

Represent a molecule with atoms as nodes and bonds as edges. Represent a protein as a graph in which spatially nearby residues connect, emphasizing three-dimensional proximity over sequence order. section 11.8

How Build AI Drug Discovery Pipelines covers it

How deep it goes
Defines nodes, edges, and features, then connects them to message passing without detailing graph algorithms or implementation code.
Examples
Uses atoms and bonds for molecules and spatially proximate residues for proteins.
What it assumes
Defines graph terminology and feature attributes before applying the representation to chemistry and biology.
What you can do after
Apply graph representations to encode molecules and proteins for graph-based drug-discovery models.
How it connects
Connects molecules, proteins, graph neural networks, message passing, node features, edge features, and PyTorch Geometric.

Also explained in

Compare how 25 books explain graph →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build AI Drug Discovery Pipelines. The section links point to the parts of the book it draws on.