b4447d7d91c83eaa3dddd3a14af9d8a8022c7c20,arch/lung1.py,MyModel,create_train_batches,#MyModel#Any#Any#Any#,159
Before Change
batches = []
for i in pos:
batches.append([i] + list(np.random.choice(neg, size=15, replace=False)))
return batches
def get_criterion(self):
After Change
batches = []
for i in range(len(pos) // 8):
batch = list(pos[8*i: 8*i+8]) + list(neg[8*i: 8*i+8])
batches.append(batch)
return batches
def get_criterion(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: mariogeiger/se3cnn
Commit Name: b4447d7d91c83eaa3dddd3a14af9d8a8022c7c20
Time: 2017-11-15
Author: geiger.mario@gmail.com
File Name: arch/lung1.py
Class Name: MyModel
Method Name: create_train_batches
Project Name: idaholab/raven
Commit Name: ef6624576e363b000901dec379d39df7c83351f7
Time: 2020-07-01
Author: mohammad.abdo@inl.gov
File Name: framework/Optimizers/GeneticAlgorithm.py
Class Name: GeneticAlgorithm
Method Name: _useRealization
Project Name: snipsco/snips-nlu
Commit Name: 2316ac84ba197184254119c2a8c4aef2f1aac1c2
Time: 2017-11-29
Author: adrien.ball@snips.net
File Name: snips_nlu/slot_filler/default/default_features_functions.py
Class Name:
Method Name: default_features