Model relationships without letting future edges or duplicate identities contaminate evaluation.
Where to begin
Define a node, an edge, its direction, and the time at which the relationship existed. The lessons progress through graph construction, neighborhood sampling, embeddings, link prediction, split design, cold starts, and a project. Work backward from the prediction moment before selecting graph features.
Read the track
- Graph Machine Learning Tutorial
- Graph learning contract: entities, relations and snapshot time
- Graph construction: direction, duplicates and high-degree nodes
- Neighborhood features: aggregate only the graph that existed at prediction time
- Link prediction evaluation: time splits and honest negative candidates
- Graph model evaluation: report sparse-node and relation-specific failures
- Graph serving: handle new nodes, edge deletion and snapshot swaps
- Project: evaluate a lesson-prerequisite graph recommender
- Graph Machine Learning: Projects
Choose the right method
Message passing can become expensive around high-degree nodes because neighbors grow quickly with each layer. Sample or cap neighborhoods only after checking which signals the cutoff removes, then compare with a simple non-graph baseline.
Common Mistakes
Do not split edges at random when the same entity pair or later graph snapshot leaks into training. Entity resolution errors can create entire false neighborhoods.
