Skip to content

Commit b8f8b3f

Browse files
committed
Update kmeans_l1.py
1 parent ce3cbaf commit b8f8b3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlinsights/mlmodel/kmeans_l1.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ def _labels_inertia(norm, X, sample_weight, centers,
182182
raise NotImplementedError( # pragma no cover
183183
"Sparse matrix is not implemented for norm 'l1'.")
184184
if precompute_distances:
185-
return _labels_inertia_precompute_dense(norm, X, sample_weight, centers, distances)
185+
return _labels_inertia_precompute_dense(
186+
norm, X, sample_weight, centers, distances)
186187
raise NotImplementedError( # pragma no cover
187188
"precompute_distances is False, not implemented for norm 'l1'.")
188189

0 commit comments

Comments
 (0)