Graph Classification
Definition
Graph classification assigns a class to a complete graph.
Prediction unit is the entire graph. In GNN methods, node representations are combined to form a graph representation via a readout function. Graph features or graph cores are also possible. A continuous target value belongs to the graph regression.
Simply explained
The model evaluates an entire network instead of individual points.
Why it matters in practice
Relevant for molecules, process graphs or network states, provided there are sufficient comparable graphs.
Example from business
Hypothetical example: Process graphs are classified according to stable and error-prone sequence patterns.
Limits and pitfalls
- Mix node and graph splits; leak similar substructures over data sets; use graph size as a shortcut.
Origin & history
Graph classification evolved from graph cores and later GNN-based representations.
Use in mid-sized companies
- Check whether your cases are meaningful as whole graphs and enough independent labels are available.
Frequently asked questions
What is the prediction unit?
The entire graph. Do you need GNNs? No, graph kernels or features are also possible.
Sources
Source check: 10.10.2026. Definition and documented classification verified; examples describe possible applications.
Editorially reviewed on: