scglue.metrics.avg_silhouette_width
- scglue.metrics.avg_silhouette_width(x, y, **kwargs)[源代码]
Cell type average silhouette width
- 参数
x (
numpy.ndarray
) – 坐标y (
numpy.ndarray
) – 细胞类型标签**kwargs – Additional keyword arguments are passed to
sklearn.metrics.silhouette_score()
- 返回类型
- 返回
asw – Cell type average silhouette width
备注
Follows the definition in OpenProblems NeurIPS 2021 competition