MMMCVPlotSuite.crps#
- MMMCVPlotSuite.crps(cv_data=None, dims=None, figsize=None, backend=None, return_as_pc=False, line_kwargs=None, **pc_kwargs)[source]#
Line chart of mean CRPS per fold for train and test splits.
Renders an n×2 grid: left column = train CRPS, right column = test CRPS, one row per Cartesian combination of extra dimensions in
y_original_scale(e.g. one row per geo). When no extra dimensions are present the result is a 1×2 grid.- Parameters:
- cv_data
az.InferenceDataorNone Override the stored
self.cv_datafor this call only.- dims
dictorNone Filters which coordinate values of extra dimensions appear as rows (e.g.
{"geo": ["geo_b"]}→ only geo_b row). Non-extra-dim keys are silently ignored.- figsize
tupleorNone Figure size in inches.
- backend
strorNone PlotCollection backend.
- return_as_pcbool
Return the raw
PlotCollectioninstead of(Figure, NDArray[Axes]).- line_kwargs
dictorNone Extra kwargs forwarded to
azp.visuals.line_xy.- **pc_kwargs
Forwarded to
PlotCollection.grid().
- cv_data
- Returns:
tuple[Figure,NDArray[Axes]] orPlotCollection