qingxin1999's picture
Restructure: all figure data under Data/ prefix
b5f096e verified
Raw
History Blame Contribute Delete
7.43 kB
{
"checkpoint": "/net/work/wangq/CycAMP/Scripts/Generation_Model/Models_ckpt/260226_connection/GIN/SMALL/best.pt",
"tokenizer_path": "/net/work/wangq/CycAMP/Scripts/Generation_Model/Tokenizer/content_vocab.json",
"test_data_path": "/net/work/wangq/CycAMP/Scripts/Generation_Model/Data/processed/test.jsonl",
"config": {
"arch": "gin",
"d_model": 384,
"hidden": 768,
"num_layers": 3,
"num_edge_types": 10,
"dropout": 0.2,
"max_nodes": 256
},
"evaluation": {
"device": "cuda",
"batch_size": 512,
"seed": 42,
"num_samples": 38381,
"num_records": 38381,
"positive_records": 8678,
"negative_records": 29703,
"default_threshold": 0.5,
"type_method": "argmax",
"use_full_candidates": true,
"timestamp": "2026-02-26T18:06:04.358748"
},
"edge_type_names": {
"1": "Amide",
"2": "PG_Amide",
"3": "Sulfanilamide",
"4": "Disulfide",
"5": "Ester",
"6": "Trp-Cys",
"7": "Lanthionin",
"8": "Bz_Stapled",
"9": "head2tail ring"
},
"results": {
"overall": {
"loss": 0.034891016840634254,
"total_edges_evaluated": 62647,
"total_graphs": 38381,
"missing_required_connection_rate": 0.003908183736744743,
"fast_check_fail_rate": 0.0032047106641306896,
"fast_check_fail_reasons": {
"blocks_disconnected": 123
},
"gt_edge_count_mean": 1.500230467849735,
"over_connect_rate": 0.06211108550357225,
"under_connect_rate": 0.049435353768149344
},
"head1_graph_gate": {
"description": "Graph-level: does this molecule need special connections?",
"threshold": 0.5,
"tp": 8449,
"fp": 583,
"fn": 229,
"tn": 29120,
"precision": 0.9354517271922055,
"recall": 0.9736114312053469,
"f1": 0.9541501976284584,
"accuracy": 0.9788436987050885,
"mcc": 0.9407242827846667
},
"head2_edge_exist": {
"description": "Edge-level binary: does this candidate edge exist? (cascade filter)",
"threshold": 0.5,
"tp": 12674,
"fp": 638,
"fn": 345,
"tn": 48990,
"total": 62647,
"precision": 0.9520733173076923,
"recall": 0.9735002688378523,
"f1": 0.9626675781398353,
"accuracy": 0.9843089054543713,
"mcc": 0.952830687083382
},
"head3_edge_type": {
"description": "Edge type classification: given edge exists, what type is it?",
"type_given_exist": {
"correct": 12674,
"total": 12674,
"accuracy": 1.0
},
"pred_edge_count_mean": 1.5135976031343628,
"gt_edge_count_mean": 1.500230467849735,
"edge_level": {
"description": "Edge-level type classification (per candidate edge)",
"confusion_matrix": [
[
8162,
0,
0,
0,
0,
0,
0,
0,
0
],
[
0,
1179,
0,
0,
0,
0,
0,
0,
0
],
[
0,
0,
9,
0,
0,
0,
0,
0,
0
],
[
0,
0,
0,
1102,
0,
0,
0,
0,
0
],
[
0,
0,
0,
0,
1304,
0,
0,
0,
0
],
[
0,
0,
0,
0,
0,
3,
0,
0,
0
],
[
0,
0,
0,
0,
0,
0,
7,
0,
0
],
[
0,
0,
0,
0,
0,
0,
0,
10,
0
],
[
0,
0,
0,
0,
0,
0,
0,
0,
898
]
],
"per_class": [
{
"class_id": 1,
"class_name": "Amide",
"precision": 0.9827814569536424,
"recall": 0.9914965986394558,
"f1": 0.987119791981617,
"support": 8232,
"tp": 8162,
"fp": 143,
"fn": 70
},
{
"class_id": 2,
"class_name": "PG_Amide",
"precision": 0.9372019077901431,
"recall": 0.9679802955665024,
"f1": 0.9523424878836833,
"support": 1218,
"tp": 1179,
"fp": 79,
"fn": 39
},
{
"class_id": 3,
"class_name": "Sulfanilamide",
"precision": 0.75,
"recall": 1.0,
"f1": 0.8571428571428571,
"support": 9,
"tp": 9,
"fp": 3,
"fn": 0
},
{
"class_id": 4,
"class_name": "Disulfide",
"precision": 0.864313725490196,
"recall": 0.9658194566170026,
"f1": 0.9122516556291391,
"support": 1141,
"tp": 1102,
"fp": 173,
"fn": 39
},
{
"class_id": 5,
"class_name": "Ester",
"precision": 0.9118881118881119,
"recall": 0.9546120058565154,
"f1": 0.9327610872675252,
"support": 1366,
"tp": 1304,
"fp": 126,
"fn": 62
},
{
"class_id": 6,
"class_name": "Trp-Cys",
"precision": 0.6,
"recall": 1.0,
"f1": 0.7499999999999999,
"support": 3,
"tp": 3,
"fp": 2,
"fn": 0
},
{
"class_id": 7,
"class_name": "Lanthionin",
"precision": 0.875,
"recall": 0.4117647058823529,
"f1": 0.56,
"support": 17,
"tp": 7,
"fp": 1,
"fn": 10
},
{
"class_id": 8,
"class_name": "Bz_Stapled",
"precision": 0.9090909090909091,
"recall": 1.0,
"f1": 0.9523809523809523,
"support": 10,
"tp": 10,
"fp": 1,
"fn": 0
},
{
"class_id": 9,
"class_name": "head2tail ring",
"precision": 0.8908730158730159,
"recall": 0.8778103616813294,
"f1": 0.8842934515017233,
"support": 1023,
"tp": 898,
"fp": 110,
"fn": 125
}
],
"macro_avg": {
"precision": 0.8579054585651131,
"recall": 0.9077203804714622,
"f1": 0.865365809309722,
"support": 62647
},
"micro_avg": {
"precision": 0.9520733173076923,
"recall": 0.9735002688378523,
"f1": 0.9626675781398353,
"support": 62647
}
}
},
"stage_breakdown": {
"missing_required": 150,
"fast_check_fail": 123,
"ok": 8405
}
}
}