CoolFace
Datasetpublic

Engrima18/cayley-graphs-384-to-447

Cayley Graphs — orders 384–447 This dataset contains Cayley graphs of finite groups: one row per group, covering groups whose order is between 384 and 447. Each graph is the Cayley graph built from the group's minimal generating set (see Provenance below). Rows (groups): 21,814 Group orders covered: 384–447 (64 distinct orders) Task: binary graph classification (default label: IsMonolithic). About the CayleyNet collection This dataset is part of a census of 131… See the full description on the dataset page: https://huggingface.co/datasets/Engrima18/cayley-graphs-384-to-447.

sourceHugging Facemitupdated 3mo agoView on Hugging Face
0likes27downloads
Dataset Card

Cayley Graphs — orders 384–447

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

  • —Rows (groups): 21,814
  • —Group orders covered: 384–447 (64 distinct orders)
  • —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

ColumnTypeDescription
GroupOrderint32Order of the finite group (first entry of the GAP SmallGroup id).
GroupIndexint32Index of the group among all groups of that order (second entry of the GAP SmallGroup id).
AdjMatrixNonZerEntlarge_stringDirected edge list of the Cayley graph as a JSON-style nested list [[src, dst], ...]; nodes are 0-indexed group elements.
EdgeFeatureslarge_stringOne-hot generator matrix of shape [num_edges, num_generators]; row e indicates which generator produced edge e.
MinNumOfGensint16Size of a minimal generating set of the group.
IsAbelianboolWhether the group is abelian.
IsNilpotentboolWhether the group is nilpotent.
IsSimpleboolWhether the group is simple.
IsPerfectboolWhether the group is perfect (G = [G, G]).
IsSolvableboolWhether the group is solvable.
IsMonolithicboolWhether the group is monolithic, i.e. has a unique minimal normal subgroup. Primary classification label.
IsCyclicboolWhether the group is cyclic.

Group-property / label balance

Column# True% True
IsAbelian1390.64%
IsNilpotent2,58911.87%
IsSimple100.05%
IsPerfect00.00%
IsSolvable21,813100.00%
IsMonolithic1570.72%
IsCyclic640.29%

Numeric column statistics

ColumnMinMeanMaxNulls
GroupOrder384386.84470
GroupIndex19,34120,1690
MinNumOfGens13.63670
NumEdges3893,0323,0720

Parsing the list-valued columns

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

python
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

python
from datasets import load_dataset

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

License

MIT — © 2025 Enrico Grimaldi.