From 10b0516bde884813de53879790bdac41fc468e93 Mon Sep 17 00:00:00 2001 From: jeremie du boisberranger Date: Fri, 17 Mar 2023 17:02:35 +0100 Subject: [PATCH] less samples --- sklearn/cluster/tests/test_optics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/cluster/tests/test_optics.py b/sklearn/cluster/tests/test_optics.py index 38c92f855b746..0acf818912c0f 100644 --- a/sklearn/cluster/tests/test_optics.py +++ b/sklearn/cluster/tests/test_optics.py @@ -300,7 +300,7 @@ def test_dbscan_optics_parity(eps, min_samples, metric, is_sparse, global_dtype) centers = [[1, 1], [-1, -1], [1, -1]] X, labels_true = make_blobs( - n_samples=750, centers=centers, cluster_std=0.4, random_state=0 + n_samples=150, centers=centers, cluster_std=0.4, random_state=0 ) X = sparse.csr_matrix(X) if is_sparse else X