python报错解决方案:ImportError: cannot import name‘calinski_harabaz_score‘ from ‘sklearn.metrics‘

python报错解决方案:ImportError: cannot import name‘calinski_harabaz_score‘ from ‘sklearn.metrics‘_第1张图片 

将from sklearn.metrics import calinski_harabaz_score

改为:from sklearn.metrics import calinski_harabasz_score

即将所有harabaz全部改为harabassz即可!

你可能感兴趣的:(python,sklearn,机器学习)