heatmap_plot
Plot SHAP's heatmap plot. This plot is designed to show the population substructure of a dataset using supervised clustering and a heatmap. Supervised clustering involves clustering data points not by their original feature values but by their explanations. Read more about SHAP plots in the user guide.
Parameters: |
models: str, sequence or None, optional (default=None)
index: tuple, slice or None, optional (default=None)
show: int or None, optional (default=None)
target: int or str, optional (default=1)
title: str or None, optional (default=None)
figsize: tuple, optional (default=(8, 6)))
filename: str or None, optional (default=None)
display: bool or None, optional (default=True)
**kwargs |
Returns: |
fig: matplotlib.figure.Figure Plot object. Only returned if display=None .
|
Example
from atom import ATOMRegressor
atom = ATOMRegressor(X, y)
atom.run("RF")
atom.heatmap_plot()