Пример #1
0
 def test_rss(self):
     actual = np.array(TestError.ACTUAL)
     ideal = np.array(TestError.IDEAL)
     self.assertAlmostEqual(ErrorCalculation.rss(actual, ideal), 3032.4099,
                            3)
Пример #2
0
 def test_rss(self):
     actual = np.array(TestError.ACTUAL)
     ideal = np.array(TestError.IDEAL)
     self.assertAlmostEqual(ErrorCalculation.rss(actual, ideal), 3032.4099, 3)