python报错解决方案:ImportError: cannot import name‘calinski_harabaz_score‘ from ‘sklearn.metrics‘
from sklearn.metrics import calinski_harabasz_score
·
将from sklearn.metrics import calinski_harabaz_score
改为:from sklearn.metrics import calinski_harabasz_score
即将所有harabaz全部改为harabassz即可!
更多推荐
已为社区贡献1条内容
所有评论(0)