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