beeswarm_plot
Plot SHAP's beeswarm plot. The plot is colored by feature values. Read more about SHAP plots in the user guide.
Parameters: |
models: str, sequence or None, optional (default=None)
index: slice, sequence 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 or None, optional (default=None)
filename: str or None, optional (default=None)
display: bool or None, optional (default=True)
**kwargs |
Returns: |
matplotlib.figure.Figure Plot object. Only returned if display=None .
|
Example
from atom import ATOMRegressor
atom = ATOMRegressor(X, y)
atom.run("RF")
atom.beeswarm_plot()