b6a7c304c68fe4a1300970459a3807ee7bce6c87,examples/cora.py,,,#,55
Before Change
acc.append(test(test_mask))
print("Run: {:03d}, Test: {:.4f}".format(run, acc[-1]))
mean = torch.tensor(acc).mean().item()
std = torch.tensor(acc).std().item()
print("Mean: {:.4f}, Stddev: {:.4f}".format(mean, std))
After Change
for epoch in range(1, 101):
train()
log = "Epoch: {:03d}, Train: {:.4f}, Test: {:.4f}"
print(log.format(epoch, *test()))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: rusty1s/pytorch_geometric
Commit Name: b6a7c304c68fe4a1300970459a3807ee7bce6c87
Time: 2018-05-22
Author: matthias.fey@tu-dortmund.de
File Name: examples/cora.py
Class Name:
Method Name:
Project Name: IndicoDataSolutions/finetune
Commit Name: c66f59cb3b265cd07ad108c955c5f9d891190848
Time: 2019-01-09
Author: benlt@hotmail.co.uk
File Name: finetune/datasets/treebank_association.py
Class Name:
Method Name:
Project Name: IndicoDataSolutions/finetune
Commit Name: 2f1f4adb504fd6a91027a091a4e5e911a4d7c905
Time: 2018-08-03
Author: benlt@hotmail.co.uk
File Name: finetune/datasets/mcdonalds_yelp_sentiment.py
Class Name:
Method Name: