work-around renaming of sklearn internals: _k_means.py -> _kmeans.py
@@ -22,7 +22,10 @@ from sklearn.utils import (check_random_state, check_array)
from sklearn.utils.sparsefuncs import mean_variance_axis
from sklearn.utils.validation import (check_is_fitted, _num_samples)
+try:
from sklearn.cluster._k_means import (k_means, _labels_inertia, _k_init, _validate_center_shape)
+except ModuleNotFoundError:
+ from sklearn.cluster._kmeans import (k_means, _labels_inertia, _k_init, _validate_center_shape)
string_types = str
