GraphRetriever#

class scikitplot.corpus.GraphRetriever(graph)[source]#

Relationship-traversal evidence path.

Notes

Developer. Seeds come from another leg’s hits: the graph answers what is related to what already matched, so it is a refinement path rather than a primary one. A traversal that exhausts a budget produces a DEGRADED leg carrying the traversal’s own ErrorRecord, so the budget that stopped it survives into the retrieval envelope.

Parameters:

graph (Any)

leg: LegKind = 'graph'[source]#

Which evidence path this retriever represents.

retrieve(query, config, *, graph_query=None, **kwargs)[source]#

Traverse the graph from the supplied seeds.

Parameters:
Return type:

LegResult