def test_mae(self):
        predicted = np.array([1, 2, 3])
        target = np.array([3, 2, 1])

        actual = estimators.mae(target, predicted)
        self.assertAlmostEqual(actual, 4 / 3.)
dataset/ETHPy150Open itdxer/neupy/tests/network/test_errors.py/ErrorFuncTestCase.test_mae/original