Skip to content

Commit 839a2a2

Browse files
NicolasHugadrinjalali
authored andcommitted
MNT import kmeans from sklearn.cluster (scikit-learn#15407)
1 parent 3b374cc commit 839a2a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/bench_plot_fastkmeans.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import numpy as np
55
from numpy import random as nr
66

7-
from sklearn.cluster.k_means_ import KMeans, MiniBatchKMeans
7+
from sklearn.cluster import KMeans, MiniBatchKMeans
88

99

1010
def compute_bench(samples_range, features_range):

0 commit comments

Comments
 (0)