Best Graph Databases Compared: Neo4j vs Memgraph and Alternatives
Compare Neo4j, Memgraph, TigerGraph, Neptune, ArangoDB, FalkorDB, and more — with licensing traps, query language lock-in, and a protocol for running your own benchmarks.
Scaling GNNs to Large Graphs: Neighbor Sampling and Mini-Batching Explained
Learn how neighbor sampling caps fan-out, why mini-batching breaks for GNNs, and which PyG loaders (NeighborLoader, ClusterLoader, GraphSAINT) scale to 100M+ nodes.
Over-Smoothing in GNNs: Why Deeper Isn't Better and What to Do About It
Learn why GNNs hit a depth wall at 2-3 layers, what over-smoothing actually means, and which remedies (GCNII, PairNorm, DropEdge, residual connections) actually work.
Detecting Suspicious Networks: Graph Neural Networks for Fraud Rings
Learn how graph neural networks expose fraud rings through shared devices, cards, and IPs — plus why a random forest may beat every GNN on strict evaluation.
Graph-Based Recommendations: Build a Recommender with LightGCN
I ran LightGCN on MovieLens-100K: 0.1836 recall@20 with a time split, 0.3483 with a random split. The split, not the model, picked the winner in my runs.
Graph Transformers Explained: When Global Attention Beats Message Passing
Why standard GNNs hit bottlenecks on long-range dependencies, how Graph Transformers add global attention, and when the compute cost pays off — with a Laplacian-aware positional encoding experiment.
NetworkX for Machine Learning: Centrality, Communities, and Graph Features
I ran these NetworkX features on Karate Club: 9 structural columns scored 0.657, but eigenvector centrality alone beat them at 0.717. Code and numbers.
Build a Knowledge Graph from Text with Python
I ran the regex-to-graph pipeline: 8 triples from 10 sentences at 0.875 precision, and 0 facts from a Wikipedia paragraph. Code, bugs, and real numbers.
Detecting Suspicious Networks: Graph Neural Networks for Fraud Rings
I ran the code: the threshold sweep crashes, three rings merge into one 523-account blob, and a GCN's PR-AUC falls from 0.58 to 0.16 without test-period edges.
Graph Classification for Molecules: Predict Chemical Properties with GNNs
I ran a GINE model on 1,128 ESOL molecules: 0.678 RMSE on a random split and 1.061 on a scaffold split, where 0% of test scaffolds appear in training.
Link Prediction in Python: Predict Missing Connections in a Network
I ran the link prediction heuristics on Karate Club across 20 splits: Adamic-Adar scored 0.705 AUC, then fell to 0.503 with hard negatives. Code and numbers.
GCN vs GraphSAGE vs GAT: Which Graph Neural Network Should You Use?
I ran GCN, GraphSAGE, and GATv2 on Cora with identical settings and a heterophilous control: the ranking flips with homophily, and tuning beats architecture.