Skip to content

Commit

Permalink
Adjust test scores to 4th decimal change
Browse files Browse the repository at this point in the history
  • Loading branch information
nilfm99 committed Apr 23, 2024
1 parent 6b448e5 commit e5aaccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/test/noref_feature_extractor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_run_noref_niqe_fextractor(self):

self.assertAlmostEqual(results[0]['NIQE_noref_feature_alpha23_score'], 0.8168807870370377, places=4)
self.assertAlmostEqual(results[0]['NIQE_noref_feature_alpha13_score'], 0.6949641203703707, places=4)
self.assertAlmostEqual(results[0]['NIQE_noref_feature_alpha_m1_score'], 2.0924143518518536, places=4)
self.assertAlmostEqual(results[0]['NIQE_noref_feature_alpha_m1_score'], 2.092753472222224, places=4)
self.assertAlmostEqual(results[0]['NIQE_noref_feature_blbr1_score'], 0.72958634325785898, places=4)

self.assertAlmostEqual(results[1]['NIQE_noref_feature_alpha23_score'], 0.89566087962963026, places=4)
Expand Down Expand Up @@ -157,7 +157,7 @@ def test_run_noref_niqe_fextractor_with_patch_size(self):

self.assertAlmostEqual(results[0]['NIQE_noref_feature_alpha23_score'], 0.8430156250000006, places=4)
self.assertAlmostEqual(results[0]['NIQE_noref_feature_alpha13_score'], 0.71714583333333359, places=4)
self.assertAlmostEqual(results[0]['NIQE_noref_feature_alpha_m1_score'], 2.2195590277777795, places=4)
self.assertAlmostEqual(results[0]['NIQE_noref_feature_alpha_m1_score'], 2.2197725694444466, places=4)
self.assertAlmostEqual(results[0]['NIQE_noref_feature_blbr1_score'], 0.74061215376929412, places=4)

self.assertAlmostEqual(results[1]['NIQE_noref_feature_alpha23_score'], 0.9144918981481488, places=4)
Expand Down

0 comments on commit e5aaccf

Please sign in to comment.