plot_prc
Plot the Precision-Recall Curve (PRC). The legend shows the average precision (AP) score. Only for binary classification tasks. Read more about PRC in sklearn's documentation.
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(["LR", "RF", "LGB"], metric="average_precision")
atom.plot_prc()
