Skip to main content
Open llms.txtCopy tools

Graph Models

Use graph models when relationship structure is the thing you want to test. That usually means directed origin-to-destination flow, repeated route markets, neighborhood structure, or link likelihood.

Use CartoBoost Boosting Model Guides for row-level trees and CartoBoost Neural Model Guides when repeated IDs should be embedded without an explicit graph.

Choose A Guide

GuideBest when
CartoBoost Node2Vec Graph ModelsTopology and flow patterns matter more than node attributes.
CartoBoost GraphSAGE ModelsNode attributes should shape the learned representation.
CartoBoost HeteroGraphSAGE ModelsRelation IDs matter, but a single node-feature table is enough.
CartoBoost HinSAGE ModelsNode types and valid source-relation-target combinations must be enforced.

Keep direction explicit. A source-to-target fact is usually not the same as the reverse fact.

See Graph Features for input shapes, directionality, generated features, saving and loading, and common failure modes.