e4488b9b68416439a226b48b74c22ae84c129db1,magpie/api.py,,batch_train,#Any#Any#Any#Any#Any#Any#Any#Any#,278

Before Change


        batch_number = 0
        if verbose:
            sys.stdout.write(b"Batches: ")
            sys.stdout.flush()
        while not no_more_samples:
            batch_number += 1

            batch = []

After Change


        epoch_start = time.clock()

        if verbose:
            print("Epoch {}".format(epoch + 1), end=" ")

        no_more_samples = False
        batch_number = 0
        while not no_more_samples:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: inspirehep/magpie
Commit Name: e4488b9b68416439a226b48b74c22ae84c129db1
Time: 2016-02-10
Author: jan.stypka@cern.ch
File Name: magpie/api.py
Class Name:
Method Name: batch_train


Project Name: tensorflow/minigo
Commit Name: 338e1914ab7e73856d292b7b1f2885016db7e4ff
Time: 2018-05-09
Author: tom.ej.madams@gmail.com
File Name: main.py
Class Name:
Method Name: gtp


Project Name: Featuretools/featuretools
Commit Name: af88087771c36f99ad5fb385979c3f467c72e126
Time: 2018-03-19
Author: benjaminschreck93@gmail.com
File Name: featuretools/synthesis/deep_feature_synthesis.py
Class Name: DeepFeatureSynthesis
Method Name: build_features


Project Name: tensorflow/models
Commit Name: 58037d2cbfe24fc3d1db9fc74caa396db6475ea5
Time: 2018-08-02
Author: reedwm@google.com
File Name: official/recommendation/data_async_generation.py
Class Name:
Method Name: log_msg