ROGResult
ROGResult(ontology, layers, excluded_nodes, total_coverage, bridge_edges)Result of Recursive Ontological Generation.
ROG applies density-adaptive thresholding recursively: 1. Build ontology at high threshold (dense regions) 2. Recurse into outliers with lower threshold 3. Repeat until coverage target or min threshold reached 4. Knit layers together with bridge edges
Attributes
| Name | Type | Description |
|---|---|---|
| ontology | DAGTaxonomy | The unified DAGTaxonomy |
| layers | List[ROGLayer] | List of ROGLayer describing each recursion level |
| excluded_nodes | np.ndarray | Indices that couldn’t be connected at any threshold |
| total_coverage | float | Fraction of input nodes in ontology |
| bridge_edges | int | Edges connecting different layers |
Methods
| Name | Description |
|---|---|
| get_layer_for_node | Return which layer a node belongs to, or None if excluded. |
| summary | Return summary statistics. |
get_layer_for_node
ROGResult.get_layer_for_node(node_idx)Return which layer a node belongs to, or None if excluded.
summary
ROGResult.summary()Return summary statistics.