Skip to main content

Module export

Module export 

Source
Expand description

Triple exporter — extract knowledge graph triples with Hebbian weights.

Exports the colony’s knowledge graph as (subject, predicate, object, weight) triples, suitable for downstream processing into training data.

Structs§

TripleStats
Statistics about exported triples.
WeightedTriple
A knowledge graph triple with weight.

Functions§

export_triples
Export all edges as weighted triples.
triple_stats
Export triples with weight statistics.