File size: 796 Bytes
acb327b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"""Generate all 6 publication-quality plots using synthetic data."""
import sys, os
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

def main():
    print("📊  Generating all 6 ECHO ULTIMATE plots…")
    from config import cfg
    from pathlib import Path
    Path(cfg.PLOTS_DIR).mkdir(parents=True, exist_ok=True)

    from training.evaluate import (
        make_synthetic_pair, compare_and_plot, make_synthetic_training_log
    )
    make_synthetic_training_log(cfg.TRAINING_LOG)
    before, after = make_synthetic_pair(ece_before=0.34, ece_after=0.08)
    paths = compare_and_plot(after, {"Untrained": before})

    print("\n✅  All plots saved:")
    for k, p in paths.items():
        print(f"   {k:15s}{p}")

if __name__ == "__main__":
    main()