def test_partial_fit(self, net, X_train, y_train):
        net2 = clone(net)
        assert net2.partial_fit(X_train, y_train) is net2
        net2.partial_fit(X_train, y_train)
        history = net2.train_history_
        assert len(history) == 2
        assert history[1]['valid_accuracy'] > 0.85
dataset/ETHPy150Open dnouri/nolearn/nolearn/lasagne/tests/test_base.py/TestFunctionalMNIST.test_partial_fit/original