force_plot
Plot SHAP's force plot. Visualize the given SHAP values with an additive
force layout. Note that by default this plot will render using javascript.
For a regular figure use matplotlib=True (this option is only available
when only a single sample is plotted). Read more about SHAP plots in the
user guide.
| Parameters: | 
 
models: str, sequence or None, optional (default=None) 
index: int, str, sequence or None, optional (default=None) 
target: int or str, optional (default=1) 
title: str or None, optional (default=None) 
figsize: tuple, optional (default=(14, 6)) 
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 and matplotlib=True.
 | 
Example
from atom import ATOMClassifier
atom = ATOMClassifier(X, y)
atom.run("lr")
atom.force_plot(index=120, matplotlib=True, filename="force_plot")