torchcell.viz.fitness.box_plot
- box_plot(true_values: Any, predictions: Any) Figure[source]
Bin predictions into growth ranges and box-plot the measured values.
- Parameters:
true_values – Measured growth values (tensor or array).
predictions – Predicted growth values (tensor or array).
- Returns:
The matplotlib figure annotated with Pearson, Spearman, and R-squared.