8000 MAINT Remove left-over from KMeans n_init default deprecation (#27938) · punndcoder28/scikit-learn@cf56e95 · GitHub
[go: up one dir, main page]

Skip to content

Commit cf56e95

Browse files
authored
MAINT Remove left-over from KMeans n_init default deprecation (scikit-learn#27938)
1 parent 0496f48 commit cf56e95

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

sklearn/cluster/tests/test_k_means.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@
3232
from sklearn.utils.extmath import row_norms
3333
from sklearn.utils.fixes import CSR_CONTAINERS, threadpool_limits
3434

35-
# TODO(1.4): Remove
36-
msg = (
37-
r"The default value of `n_init` will change from \d* to 'auto' in 1.4. Set the"
38-
r" value of `n_init` explicitly to suppress the warning:FutureWarning"
39-
)
40-
pytestmark = pytest.mark.filterwarnings("ignore:" + msg)
41-
4235
# non centered, sparse centers to check the
4336
centers = np.array(
4437
[

0 commit comments

Comments
 (0)
0