def test_rmsle(self):
        actual = np.e ** (np.array([1, 2, 3, 4])) - 1
        predicted = np.e ** (np.array([4, 3, 2, 1])) - 1
        self.assertEqual(
            asfloat(np.sqrt(5)),
            estimators.rmsle(actual, predicted)
        )
dataset/ETHPy150Open itdxer/neupy/tests/network/test_errors.py/ErrorFuncTestCase.test_rmsle/original