numeraire_graphics.plot_complexity_curve#
- numeraire_graphics.plot_complexity_curve(results: DataFrame, *, x: str, metric: str, ribbon: tuple[str, str] | None = None) plotnine.ggplot[source]#
A summary
metricplotted against a numeric complexity axisx.xnames a numeric column the caller has joined ontoresults(a shrinkage intensity, a parameter count, a regularization level — the result schema does not carry one, so it is an explicit argument). Rows are sorted alongxand drawn as ageom_line+geom_pointcoloured by method.ribbonoptionally names(low, high)columns for ageom_ribbonband around the curve. A zero reference line is included.