scglue.plot.prc¶
-
scglue.plot.
prc
(true, pred, max_points=500, ax=None, **kwargs)[source]¶ Plot a precision-recall curve
- Parameters
true (
ndarray
) – True labelspred (
ndarray
) – Prediction valuesmax_points (
int
) – Maximal number of points on the precision-recall curve, beyond which the points are equidistantly subsampled.**kwargs – Additional keyword arguments passed to
seaborn.lineplot()
- Return type
- Returns
ax – Plot axes