scglue.plot.roc
- scglue.plot.roc(true, pred, max_points=500, ax=None, **kwargs)[源代码]
Plot an ROC curve
- 参数:
true (
numpy.ndarray
) – True labelspred (
numpy.ndarray
) – Prediction valuesmax_points (
int
) – Maximal number of points on the ROC 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()
- 返回类型:
- 返回:
ax – Plot axes