cellmil.graph.debug_visualizer¶
Interactive debug visualizer for graph creation hyperparameter tuning.
This module provides an interactive Dash application for visualizing and tuning graph creation hyperparameters in real-time with a sampled subset of cells.
Classes
|
Interactive visualizer for debugging graph creation with different hyperparameters. |
- class cellmil.graph.debug_visualizer.GraphDebugVisualizer(cells: List[Dict[str, Any]], method: GraphCreatorType, device: str = 'cpu')[source]¶
Bases:
objectInteractive visualizer for debugging graph creation with different hyperparameters.
- __init__(cells: List[Dict[str, Any]], method: GraphCreatorType, device: str = 'cpu')[source]¶
Initialize the debug visualizer.
- Parameters:
cells – List of cell dictionaries with centroid and other features
method – Graph creation method to use
device – Computing device (‘cpu’ or ‘cuda:X’)
- _create_edge_creator(*params: Any)[source]¶
Create an edge creator instance with the given parameters.
- _create_figure(edge_indices: Tensor) Figure[source]¶
Create a Plotly figure for the graph visualization.