OptimResult.plot_params()#
- OptimResult.plot_params(position=None, legend=True, title=None, subset=None, window=None)[source]#
Plots saved parameter histories.
- Parameters:
position (
Position(dict[str,Any]) |None, default:None) – Optional position history to plot. If omitted,self.history.positionis used.legend (
bool, default:True) – Whether to show the plot legend.subset (
Sequence[str] |None, default:None) – Optional sequence of parameter names to keep.window (
int|None, default:None) – Optional number of final epochs to show. IfNone, all epochs are shown.
- Returns:
plotnine.ggplot – Plot object with one curve per flattened parameter column.
- Raises:
TypeError – If no position history is available.