ml_crypto_lab/notebooks/00_project_pipeline_as_cells.py
2026-06-26 14:23:12 +07:00

21 lines
462 B
Python

# %% [0] IMPORTS
from pathlib import Path
import sys
PROJECT_ROOT = Path.cwd()
sys.path.insert(0, str(PROJECT_ROOT / "src"))
from ml_crypto_lab.core.config import load_yaml
from ml_crypto_lab.train.runner import run_full_experiment
# %% [1] LOAD CONFIG
cfg = load_yaml("configs/experiment.yaml")
# %% [2] RUN FULL EXPERIMENT
result = run_full_experiment(cfg)
# %% [3] SHOW SUMMARY
summary_df = result["summary"]
print(result["run_dir"])
summary_df.head(30)