Dataset Viewer
Auto-converted to Parquet Duplicate
GroupOrder
int32
256
256
GroupIndex
int32
1
56.1k
AdjMatrixNonZerEnt
large_stringlengths
22.8k
22.8k
EdgeFeatures
large_stringclasses
1 value
MinNumOfGens
int16
1
8
IsAbelian
bool
2 classes
IsNilpotent
bool
1 class
IsSimple
bool
1 class
IsPerfect
bool
1 class
IsSolvable
bool
1 class
IsMonolithic
bool
2 classes
IsCyclic
bool
2 classes
256
1
[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [1, 2], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [2, 3], [2, 9], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [3, 4], [3, 10], [3, 16], [3, 22], [3, 23], [3, 24], [3, 25], [3, 26], [4, 5], [4, 11], [4, 17], [4, 22], [4, 27], ...
[[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 0], [0, 0, 0, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 1, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 0], [0, 0, ...
1
true
true
false
false
true
true
true
256
2
[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [1, 4], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [1, 15], [2, 5], [2, 16], [2, 17], [2, 18], [2, 19], [2, 20], [2, 21], [2, 37], [3, 6], [3, 10], [3, 16], [3, 22], [3, 23], [3, 24], [3, 25], [3, 26], [4, 7], [4, 11], [4, 22], [4, 27], [4, 28],...
[[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 0], [0, 0, 0, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 1, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 0], [0, 0, ...
2
false
true
false
false
true
false
false
256
3
"[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [1, 4], [1, 9], [1, 10], [1, 11], (...TRUNCATED)
"[[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0(...TRUNCATED)
2
false
true
false
false
true
false
false
256
4
"[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [1, 4], [1, 9], [1, 10], [1, 11], (...TRUNCATED)
"[[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0(...TRUNCATED)
2
false
true
false
false
true
false
false
256
5
"[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [1, 4], [1, 9], [1, 10], [1, 11], (...TRUNCATED)
"[[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0(...TRUNCATED)
2
false
true
false
false
true
false
false
256
6
"[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [1, 4], [1, 9], [1, 10], [1, 11], (...TRUNCATED)
"[[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0(...TRUNCATED)
2
false
true
false
false
true
false
false
256
7
"[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [1, 4], [1, 9], [1, 10], [1, 11], (...TRUNCATED)
"[[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0(...TRUNCATED)
2
false
true
false
false
true
false
false
256
8
"[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [1, 4], [1, 9], [1, 10], [1, 11], (...TRUNCATED)
"[[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0(...TRUNCATED)
2
false
true
false
false
true
false
false
256
9
"[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [1, 4], [1, 9], [1, 10], [1, 11], (...TRUNCATED)
"[[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0(...TRUNCATED)
2
false
true
false
false
true
false
false
256
10
"[[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [1, 4], [1, 9], [1, 10], [1, 11], (...TRUNCATED)
"[[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0(...TRUNCATED)
2
false
true
false
false
true
false
false
End of preview. Expand in Data Studio

Cayley Graphs — order 256

This dataset contains Cayley graphs of finite groups: one row per group, covering groups of order 256. Each graph is the Cayley graph built from the group's minimal generating set (see Provenance below).

  • Rows (groups): 56,092
  • Group orders covered: 256–256 (1 distinct order)
  • Task: binary graph classification (default label: IsMonolithic).

About the CayleyNet collection

This dataset is part of a census of 131,406 Cayley graphs covering every finite group of order at most 767 (except order 512), built to study how finite-group structure is reflected in the network geometry of Cayley graphs. Each group is recorded with exact algebraic property labels alongside a broad collection of graph, cycle, distance, and spectral statistics. The census provides benchmarks for predicting group properties directly from graph data — comparing classical models, an MLP, and graph neural networks (GIN/GCN) — and contributes new OEIS sequences for monolithic groups and for groups generated by at most 3, 4, and 5 elements.

Code: https://github.com/Engrima18/CayleyNet

Columns

Column Type Description
GroupOrder int32 Order of the finite group (first entry of the GAP SmallGroup id).
GroupIndex int32 Index of the group among all groups of that order (second entry of the GAP SmallGroup id).
AdjMatrixNonZerEnt large_string Directed edge list of the Cayley graph as a JSON-style nested list [[src, dst], ...]; nodes are 0-indexed group elements.
EdgeFeatures large_string One-hot generator matrix of shape [num_edges, num_generators]; row e indicates which generator produced edge e.
MinNumOfGens int16 Size of a minimal generating set of the group.
IsAbelian bool Whether the group is abelian.
IsNilpotent bool Whether the group is nilpotent.
IsSimple bool Whether the group is simple.
IsPerfect bool Whether the group is perfect (G = [G, G]).
IsSolvable bool Whether the group is solvable.
IsMonolithic bool Whether the group is monolithic, i.e. has a unique minimal normal subgroup. Primary classification label.
IsCyclic bool Whether the group is cyclic.

Group-property / label balance

Column # True % True
IsAbelian 22 0.04%
IsNilpotent 56,092 100.00%
IsSimple 0 0.00%
IsPerfect 0 0.00%
IsSolvable 56,092 100.00%
IsMonolithic 1,130 2.01%
IsCyclic 1 0.00%

Numeric column statistics

Column Min Mean Max Nulls
GroupOrder 256 256 256 0
GroupIndex 1 2.805e+04 56,092 0
MinNumOfGens 1 4.398 8 0
NumEdges 2,048 2,048 2,048 0

Parsing the list-valued columns

AdjMatrixNonZerEnt and EdgeFeatures are stored as strings holding a JSON-style nested list. Decode them with:

import ast
edges = ast.literal_eval(row["AdjMatrixNonZerEnt"])   # [[src, dst], ...]
edge_feats = ast.literal_eval(row["EdgeFeatures"])    # one-hot [E, n_gens]

Provenance

  • Generated with GAP / SageMath and NetworkX (scripts/generate_data.py).
  • Distributed as typed Parquet: the source Id is split into GroupOrder and GroupIndex, and integer statistics are stored as nullable integers.

Usage

from datasets import load_dataset

ds = load_dataset("Enrico18/cayley-graphs-256", split="train")
print(ds[0])

License

MIT — © 2025 Enrico Grimaldi.

Downloads last month
20

Collection including Engrima18/cayley-graphs-256