scglue.plot.prc

scglue.plot.prc(true, pred, max_points=500, ax=None, **kwargs)[源代码]

Plot a precision-recall curve

参数:
  • true (numpy.ndarray) – True labels

  • pred (numpy.ndarray) – Prediction values

  • max_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()

返回类型:

Axes

返回:

ax – Plot axes