def test_kurtosis(self): # Assert -1.2 for the uniform distribution. a = 1 b = 1000 v = metrics.kurtosis([float(i-a)/(b-a) for i in range(a,b)]) self.assertAlmostEqual(v, -1.2, places=3) print("pattern.metrics.kurtosis()")
def test_kurtosis(self): # Assert -1.2 for the uniform distribution. a = 1 b = 1000 v = metrics.kurtosis([float(i - a) / (b - a) for i in range(a, b)]) self.assertAlmostEqual(v, -1.2, places=3) print("pattern.metrics.kurtosis()")