From 2dfdb0e9839ccbd9b0f93025774480a089100dba Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 7 Dec 2023 14:32:57 +0100 Subject: xv: calculate measures from samples rather than averaging intermediates --- test/test_ptamodel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_ptamodel.py') diff --git a/test/test_ptamodel.py b/test/test_ptamodel.py index b40289c..cd774c3 100755 --- a/test/test_ptamodel.py +++ b/test/test_ptamodel.py @@ -330,8 +330,8 @@ class TestSynthetic(unittest.TestCase): # the Root Mean Square Deviation must not be greater the scale (i.e., standard deviation) of the normal distribution # Low Mean Absolute Error (< 2) self.assertTrue(static_quality["raw_state_1"]["duration"]["mae"] < 2) - # Low Root Mean Square Deviation (< scale == 2) - self.assertTrue(static_quality["raw_state_1"]["duration"]["rmsd"] < 2) + # Low Root Mean Square Deviation (< scale+eps == 2.02) + self.assertTrue(static_quality["raw_state_1"]["duration"]["rmsd"] < 2.02) # Relatively low error percentage (~~ MAE * 100% / s1_duration_base) self.assertAlmostEqual( static_quality["raw_state_1"]["duration"]["smape"], -- cgit v1.2.3