94ecd2ae789c038e2e8ed9ed8e83f9adfe3eb447,examples/cora_agnn.py,,,#,59

Before Change


    acc.append(cur_test)
    print("Run:", run, "Test Accuracy:", acc[-1])

print("Mean:", torch.Tensor(acc).mean(), "Stddev:", torch.Tensor(acc).std())

After Change


    acc.append(cur_test)
    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))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 17

Instances


Project Name: rusty1s/pytorch_geometric
Commit Name: 94ecd2ae789c038e2e8ed9ed8e83f9adfe3eb447
Time: 2018-05-02
Author: matthias.fey@tu-dortmund.de
File Name: examples/cora_agnn.py
Class Name:
Method Name:


Project Name: rusty1s/pytorch_geometric
Commit Name: 94ecd2ae789c038e2e8ed9ed8e83f9adfe3eb447
Time: 2018-05-02
Author: matthias.fey@tu-dortmund.de
File Name: examples/cora_gat.py
Class Name:
Method Name:


Project Name: rusty1s/pytorch_geometric
Commit Name: 94ecd2ae789c038e2e8ed9ed8e83f9adfe3eb447
Time: 2018-05-02
Author: matthias.fey@tu-dortmund.de
File Name: examples/cora.py
Class Name:
Method Name:


Project Name: rusty1s/pytorch_geometric
Commit Name: 94ecd2ae789c038e2e8ed9ed8e83f9adfe3eb447
Time: 2018-05-02
Author: matthias.fey@tu-dortmund.de
File Name: examples/cora_agnn.py
Class Name:
Method Name: