Skip to content

Commit 5c4a913

Browse files
committed
Loosen test thresholds for multiplex parameter estimation
This is the least robust of the multi-layer network topology models and sometimes causes issues in our stochastic test suites.
1 parent aa0374a commit 5c4a913

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_multiplex_parameter_estimation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ def assert_multiplex_SBM_correct_convergence(self, first_layer_membership, copyi
4949
model='multiplex')
5050

5151
# check we converged close to the ground truth "correct" values
52-
# the multiplex omega estimation seems less accurate than in other models, perhaps due to
53-
# the copying probability approximation
54-
self.assertLess(abs(true_gamma - gamma), 0.05)
55-
self.assertLess(abs(true_omega - omega), 0.15)
52+
# the multiplex parameter estimation is much less robust and less accurate than in other models,
53+
# perhaps due to the copying probability approximation
54+
self.assertLess(abs(true_gamma - gamma), 0.1)
55+
self.assertLess(abs(true_omega - omega), 0.2)
5656

5757
def test_multiplex_SBM_correct_convergence_varying_copying_probabilty(self):
5858
for eta in [0.25, 0.5, 0.75, 0.9]:

0 commit comments

Comments
 (0)