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():
54
54
model = KLIEP (DummyEstimator (),
55
55
sigmas = [10 , 100 ])
56
56
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
58
58
59
59
60
60
def test_fit_estimator_sample_weight_zeros ():
@@ -63,4 +63,4 @@ def test_fit_estimator_sample_weight_zeros():
63
63
model = KLIEP (DummyEstimator (),
64
64
sigmas = [10 , 100 ])
65
65
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