Skip to content

Commit cc66625

Browse files
feat: add model card packaging (#180)
* feat: add model card packaging * fix: align model card metadata with plexe naming * chore: bump version to 1.3.3
1 parent 5a5c5fb commit cc66625

7 files changed

Lines changed: 863 additions & 5 deletions

File tree

plexe/CODE_INDEX.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code Index: plexe
22

3-
> Generated on 2026-02-27 14:59:37
3+
> Generated on 2026-02-27 15:11:29
44
55
Code structure and public interface documentation for the **plexe** package.
66

@@ -477,6 +477,13 @@ Standard XGBoost predictor - NO Plexe dependencies.
477477
- `__init__(self, model_dir: str)`
478478
- `predict(self, x: pd.DataFrame) -> pd.DataFrame` - Make predictions on input DataFrame.
479479

480+
---
481+
## `templates/packaging/model_card_template.py`
482+
Model card template generator.
483+
484+
**Functions:**
485+
- `generate_model_card(context, final_metrics: dict, evaluation_report: Any | None) -> str` - Generate a Markdown model card for the final package.
486+
480487
---
481488
## `templates/training/train_catboost.py`
482489
Hardcoded robust CatBoost training loop.
@@ -700,4 +707,4 @@ Main workflow orchestrator.
700707
- `evaluate_final(spark: SparkSession, context: BuildContext, solution: Solution, config: Config, on_checkpoint_saved: Callable[[str, Path, Path], None] | None) -> dict` - Phase 5: Final evaluation on test set sample.
701708
- `package_final_model(spark: SparkSession, context: BuildContext, solution: Solution, final_metrics: dict, on_checkpoint_saved: Callable[[str, Path, Path], None] | None) -> Path` - Package all final deliverables into a unified directory.
702709

703-
---
710+
---

0 commit comments

Comments
 (0)