2ad33f20c2bd5fa3a788e7facf32ac42991dd857,bin/sites_hdf5_rnn.py,,main,#,23

Before Change


    num_sites = len(sites)

    // shuffle sites
    random.shuffle(sites)

    // get wig files and labels
    target_wigs = OrderedDict()
    for line in open(sample_wigs_file):

After Change



    // shuffle sites
    // random.shuffle(sites)
    order = np.random.permutation(len(sites))
    sites = np.array(sites)[order]

    // get wig files and labels
    target_wigs = OrderedDict()
    for line in open(sample_wigs_file):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: calico/basenji
Commit Name: 2ad33f20c2bd5fa3a788e7facf32ac42991dd857
Time: 2016-06-24
Author: davidkelley44@gmail.com
File Name: bin/sites_hdf5_rnn.py
Class Name:
Method Name: main


Project Name: PetrochukM/PyTorch-NLP
Commit Name: 2a1a6851344172e0134f3c5f4f5c1021975f2812
Time: 2018-03-11
Author: petrochukm@gmail.com
File Name: torchnlp/samplers/bucket_batch_sampler.py
Class Name: BucketBatchSampler
Method Name: __iter__


Project Name: keras-team/keras
Commit Name: ee4b0bcc2cbac3c79c9b0b2c30036d189654bed4
Time: 2017-10-31
Author: ozabluda@gmail.com
File Name: keras/datasets/boston_housing.py
Class Name:
Method Name: load_data


Project Name: OpenNMT/OpenNMT-py
Commit Name: cc80175c2704c0dbbfe908f6b678c84ef1741a56
Time: 2017-03-22
Author: bryan.mccann.is@gmail.com
File Name: onmt/Dataset.py
Class Name: Dataset
Method Name: shuffle