File size: 502 Bytes
9613b5e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | from pathlib import Path
import sys
ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(ROOT))
from model.atmosphericda_dmodel import load_yaml, validate_and_plot
if __name__ == "__main__":
config = load_yaml(ROOT / "conf/config.yaml")
summary = validate_and_plot(
str(ROOT / config["paths"]["predictions"]),
str(ROOT / config["paths"]["evaluation_metrics"]),
str(ROOT / config["paths"]["comparison_figure"]),
)
print("checks passed", summary)
|