tabensemb.trainer.Trainer.plot_pairplot#

method

Trainer.plot_pairplot(imputed: bool = False, features: List[str] | None = None, include_label=True, pairplot_kwargs: Dict | None = None, select_by_value_kwargs: Dict | None = None, savefig_kwargs: Dict | None = None, save_show_close: bool = True) None | PairGrid[source]#

Plot seaborn.pairplot among features and label. Kernel Density Estimation plots are on the diagonal.

Parameters:
imputed

Whether the imputed dataset should be considered.

features

A subset of continuous features to plot pairplots for.

include_label

If True, the target is also considered.

pairplot_kwargs

Arguments for seaborn.pairplot.

select_by_value_kwargs

Arguments for tabensemb.data.datamodule.DataModule.select_by_value().

savefig_kwargs

Arguments for plt.savefig

save_show_close

Whether to save, show (in the notebook), and close the figure, or return the seaborn.axisgrid.PairGrid instance.