8cae9860b1ae048c3bed91e1c5014583c20e1380,bin/basenji_train2.py,,accuracy_update,#Any#Any#Any#Any#Any#Any#Any#,236
Before Change
sys.stdout.flush()
// delete predictions and targets
for valid_acc in valid_accs:
if valid_acc is not None:
del valid_acc
class AccuracyWorker(Thread):
Compute accuracy statistics and print update line.
def __init__(self, acc_queue):
Thread.__init__(self)
After Change
// take pearsonr means
valid_pearsonrs = []
for gi in range(len(valid_target_pearsonrs)) :
if len(valid_target_pearsonrs[gi]) > 0:
valid_pearsonrs.append(np.mean(valid_target_pearsonrs[gi]))
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: calico/basenji
Commit Name: 8cae9860b1ae048c3bed91e1c5014583c20e1380
Time: 2018-10-18
Author: drk@calicolabs.com
File Name: bin/basenji_train2.py
Class Name:
Method Name: accuracy_update
Project Name: sony/nnabla
Commit Name: c683f4b1b06a2108249820888516b333313e0569
Time: 2019-08-07
Author: Yuchi.Wen@sony.com
File Name: python/src/nnabla/utils/converter/onnx/importer.py
Class Name: OnnxImporter
Method Name: ReduceScalar
Project Name: graphbrain/graphbrain
Commit Name: 14e7753441932b61c5eb061dcc5c18a2f2ae4721
Time: 2016-07-29
Author: telmo@telmomenezes.net
File Name: gb/hypergraph/sql.py
Class Name:
Method Name: nthperm