feat: 完成 issue #80 [Ti-2] 跨工序寻优模型训练(纯标准库岭回归+多目标关联建模+R2评估+可解释权重+JSON序列化)

This commit is contained in:
2026-08-05 04:03:23 +08:00
parent c42846e18a
commit dcbd196fe9
4 changed files with 623 additions and 3 deletions
+4 -2
View File
@@ -12,9 +12,11 @@
校验 + 可行性判定 + 零依赖 YAML 子集加载。
- `solver.py` — 求解器集成(**#79**):`SolverConfig` + `Solution` + 网格枚举/
坐标下降轻量求解器 + `solve()` 统一入口,求解器无关契约。
- `cross_process.py` — 跨工序关联寻优(**#80**):纯标准库岭回归 +
`CrossProcessModel`(上游指标→下游质量,fit/predict/evaluate R²/可解释权重/序列化)。
- `config/recipe_optim.template.yaml` — Template-Ti 配方优化模板资产。
- `tests/` — 单元测试(`python -m unittest discover -s tests`,46 用例)。
- `_sanity_check.py` — 部署期一键自检(6 能力点)。
- `tests/` — 单元测试(`python -m unittest discover -s tests`,65 用例)。
- `_sanity_check.py` — 部署期一键自检(7 能力点)。
## 设计