Plots.Confusion
plots.confusionConfusion-matrix figure for one execution: heatmap with trial counts + per-class accuracy bars, rendered as a PNG the assistant can see. Use it right after execution.results to eyeball WHICH classes are confused, not just the accuracy number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Also write the PNG to NIMBUS_EXPORT_DIR/plots/ and return its path. | |
| matrix | No | "eval" (held-out, default) or "train" (fit-set / cross-validation). CV and evaluation-plan runs often have no eval matrix — use "train". | eval |
| execution_id | Yes | Run to plot (from execution.run / execution.results). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| meta | No | Figure sidecar. foundation.compare includes results/best/skipped (also as a JSON text content block). | |
| title | No | ||
| mimeType | No | ||
| savedPath | No | Set when save=true. | |
| sizeBytes | No | Set when save=true. |