File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def test_fit_estimator_bootstrap_index():
5454 model = KLIEP (DummyEstimator (),
5555 sigmas = [10 , 100 ])
5656 model .fit_estimator (Xs , ys_ , sample_weight = np .random .random (len (ys )))
57- assert len (set (list (model .estimator_ .y .ravel ())) & set (list (ys_ .ravel ()))) > 50
57+ assert len (set (list (model .estimator_ .y .ravel ())) & set (list (ys_ .ravel ()))) > 33
5858
5959
6060def test_fit_estimator_sample_weight_zeros ():
@@ -63,4 +63,4 @@ def test_fit_estimator_sample_weight_zeros():
6363 model = KLIEP (DummyEstimator (),
6464 sigmas = [10 , 100 ])
6565 model .fit_estimator (Xs , ys_ , sample_weight = np .zeros (len (ys )))
66- assert len (set (list (model .estimator_ .y .ravel ())) & set (list (ys_ .ravel ()))) > 50
66+ assert len (set (list (model .estimator_ .y .ravel ())) & set (list (ys_ .ravel ()))) > 33
You can’t perform that action at this time.
0 commit comments