plot_history#
- ExplorationDiagnostics.plot_history(parnames=None, xname=None, select=None, sort=None, top=None, parnames_as_titles=True, show_top_evaluation_indices=False, show_legend=False, subplot_spec=None, **figure_kw)#
Print selected parameters versus evaluation index.
- Parameters:
- parnames: list of strings, optional
List with the names of the parameters to show.
- xname: string, optional
Name of the parameter to plot in the x axis. By default is the index of the history DataFrame.
- select: dict, optional
Contains a set of rules to filter the dataframe, e.g. ‘f’ : [None, -10.] (get data with f < -10)
- sort: dict, optional
A dict containing as keys the names of the parameres to sort by and, as values, a Bool indicating if ordering ascendingly (True) or descendingly (False) e.g. {‘f’: False} sort simulations according to f descendingly.
- top: int, optional
Highlight the ‘top’ evaluations of every objective.
- parnames_as_titlesbool, optional
Whether to show the parameter names as titles (instead of labels) for a more compact layout.
- show_top_evaluation_indicesbool, optional
Whether to show the indices of the top evaluations.
- show_legendbool, optional
Whether to show the legend.
- subplot_spec: SubplotSpec, optional
The location of the plot in the GridSpec of an existing figure. If not given, a new figure will be created.
- **figure_kw
Additional keyword arguments to pass to pyplot.figure. Only used if no
subplot_specis given.