def test_train_history(self, net_fitted):
        history = net_fitted.train_history_
        assert len(history) == 2  # due to early stopping
        assert 0.85 > history[1]['valid_accuracy']
        assert history[1]['valid_accuracy'] > history[0]['valid_accuracy']
        assert set(history[0].keys()) == set([
            'dur', 'epoch', 'train_loss', 'train_loss_best',
            'valid_loss', 'valid_loss_best', 'valid_accuracy',
            ])
dataset/ETHPy150Open dnouri/nolearn/nolearn/lasagne/tests/test_base.py/TestFunctionalMNIST.test_train_history/swapped operands of `>`