Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/286.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从DBSCAN python输出集群中的点数_Python_Dbscan - Fatal编程技术网

从DBSCAN python输出集群中的点数

从DBSCAN python输出集群中的点数,python,dbscan,Python,Dbscan,有没有办法从python DBSCAN中确定每个集群使用的点数 我的输出是10对坐标,我想知道每对坐标使用了多少原始输入点 有没有简单的方法可以做到这一点?是的 使用类似以下内容: np.unique(labels, return_counts=True) 花更多的时间阅读文档

有没有办法从python DBSCAN中确定每个集群使用的点数

我的输出是10对坐标,我想知道每对坐标使用了多少原始输入点

有没有简单的方法可以做到这一点?

是的

使用类似以下内容:

np.unique(labels, return_counts=True)
花更多的时间阅读文档