plot_lift
method plot_lift(models=None,
dataset="test", title=None, figsize=(10, 6), filename=None, display=True)
[source]
Plot the lift curve. Only for binary classification.
Parameters: |
models: str, sequence or None, optional (default=None)
dataset: str, optional (default="test")
title: str or None, optional (default=None)
figsize: tuple, optional (default=(10, 6))
filename: str or None, optional (default=None)
display: bool or None, optional (default=True) |
Returns: |
fig: matplotlib.figure.Figure Plot object. Only returned if display=None .
|
Example
from atom import ATOMClassifier
atom = ATOMClassifier(X, y)
atom.run(["GNB", "RF", "LGB"], metric="roc_auc")
atom.plot_lift(filename="lift_curve")