ImportError: cannot import name ‘calinski_harabaz_score‘ from ‘sklearn.metrics‘

ImportError

Problem solving

problem

from sklearn.metrics import calinski_harabaz_score

solve

Upgrade scikit learn , this function was recently added.

or

from sklearn.metrics import calinski_harabasz_score

It’s done!

Read More: