def test_gd(self):
        x_train, _, y_train, _ = simple_classification()

        network = algorithms.GradientDescent(
            (layers.Tanh(10) > layers.Output(1) > layers.Tanh(20)),
            step=0.3,
            verbose=False
        )
        network.train(x_train, y_train, epochs=500)
        self.assertAlmostEqual(network.errors.last(), 0.02, places=3)
dataset/ETHPy150Open itdxer/neupy/tests/algorithms/gd/test_gd.py/GradientDescentTestCase.test_gd/swapped operands of `>`