Spaces:
Sleeping
Sleeping
feat: update output directory for generated figures to docs/academic/figures
Browse files
app/training/generate_deep_figures.py
CHANGED
|
@@ -38,7 +38,7 @@ from sklearn.base import clone
|
|
| 38 |
BACKEND = Path(__file__).resolve().parents[2]
|
| 39 |
MODELS_DIR = BACKEND / "models"
|
| 40 |
DATASET_DIR = BACKEND.parent / "DataSet"
|
| 41 |
-
FIGURES_DIR =
|
| 42 |
FEATURES_CSV = DATASET_DIR / "features.csv"
|
| 43 |
METADATA_CSV = DATASET_DIR / "metadata.csv"
|
| 44 |
|
|
|
|
| 38 |
BACKEND = Path(__file__).resolve().parents[2]
|
| 39 |
MODELS_DIR = BACKEND / "models"
|
| 40 |
DATASET_DIR = BACKEND.parent / "DataSet"
|
| 41 |
+
FIGURES_DIR = BACKEND.parent / "docs" / "academic" / "figures"
|
| 42 |
FEATURES_CSV = DATASET_DIR / "features.csv"
|
| 43 |
METADATA_CSV = DATASET_DIR / "metadata.csv"
|
| 44 |
|
app/training/generate_figures.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
"""Generate academic-quality figures from training results.
|
| 2 |
|
| 3 |
-
Produces publication-ready figures in
|
| 4 |
- confusion_matrix.png
|
| 5 |
- roc_curves_comparison.png
|
| 6 |
- precision_recall_curves.png
|
|
@@ -39,7 +39,7 @@ from sklearn.base import clone
|
|
| 39 |
BACKEND = Path(__file__).resolve().parents[2]
|
| 40 |
MODELS_DIR = BACKEND / "models"
|
| 41 |
DATASET_DIR = BACKEND.parent / "DataSet"
|
| 42 |
-
FIGURES_DIR =
|
| 43 |
FEATURES_CSV = DATASET_DIR / "features.csv"
|
| 44 |
|
| 45 |
# ── Theme (AURIS parchment gold palette) ─────────────────────────────────
|
|
|
|
| 1 |
"""Generate academic-quality figures from training results.
|
| 2 |
|
| 3 |
+
Produces publication-ready figures in docs/academic/figures/:
|
| 4 |
- confusion_matrix.png
|
| 5 |
- roc_curves_comparison.png
|
| 6 |
- precision_recall_curves.png
|
|
|
|
| 39 |
BACKEND = Path(__file__).resolve().parents[2]
|
| 40 |
MODELS_DIR = BACKEND / "models"
|
| 41 |
DATASET_DIR = BACKEND.parent / "DataSet"
|
| 42 |
+
FIGURES_DIR = BACKEND.parent / "docs" / "academic" / "figures"
|
| 43 |
FEATURES_CSV = DATASET_DIR / "features.csv"
|
| 44 |
|
| 45 |
# ── Theme (AURIS parchment gold palette) ─────────────────────────────────
|