Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/293.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
Python 从群集模块返回信息_Python_Module_Path_Cluster Analysis - Fatal编程技术网

Python 从群集模块返回信息

Python 从群集模块返回信息,python,module,path,cluster-analysis,Python,Module,Path,Cluster Analysis,使用上面的代码时,我得到以下结果,请参见下图 在这里,我单击第二个索引(cluster.\u kmeans.kmeans),提供以下信息,如下图所示 我的目标是返回intertia\uuu值,可以在第二个图中看到。问题是,我不知道需要使用什么路径来返回此值 我真的很感激你的帮助 data= sm.cluster(K,K_opt)

使用上面的代码时,我得到以下结果,请参见下图

在这里,我单击第二个索引(cluster.\u kmeans.kmeans),提供以下信息,如下图所示

我的目标是返回
intertia\uuu
值,可以在第二个图中看到。问题是,我不知道需要使用什么路径来返回此值

我真的很感激你的帮助

data= sm.cluster(K,K_opt)