tabensemb.trainer.Trainer.plot_fill_rating#

method

Trainer.plot_fill_rating(ax=None, clr: Iterable | None = None, category: str | None = None, legend: bool = True, figure_kwargs: Dict | None = None, hist_kwargs: Dict | None = None, legend_kwargs: Dict | None = None, savefig_kwargs: Dict | None = None, save_show_close: bool = True) Axes[source]#

Plot the histogram of data point rating which is the percentage of filled features.

Parameters:
ax

matplotlib.axes.Axes

clr

A seaborn color palette or an Iterable of colors. For example seaborn.color_palette(“deep”).

category

The category to classify histograms and stack them with different colors.

legend

Show legends if category is not None.

figure_kwargs

Arguments for plt.figure.

hist_kwargs

Arguments for plt.hist.

legend_kwargs

Arguments for plt.legend if legend is True and category is not None.

savefig_kwargs

Arguments for plt.savefig

save_show_close

Whether to save, show (in the notebook), and close the figure if ax is not given.

Returns:
matplotlib.axes.Axes

References

Zhang, Zian, and Zhiping Xu. “Fatigue Database of Additively Manufactured Alloys.” Scientific Data 10, no. 1 (May 2, 2023): 249.