新增 templates/ti-cl4/quality-forecast/features.py: - PointDict:解析 point_dict CSV(9 列,对齐 core/edge-gateway),检索/存在性校验 - FeatureSpec:声明式特征(source/transform/window/meaning),换行业只改清单 - FeatureExtractor:按清单从时序样本抽取特征矩阵,缺失值 NaN 占位 - 9 算子:raw/mean/std/min/max/range/diff/slope/ratio - 零依赖 YAML 子集加载(与 recipe-optim/data-bus 同款) - config/features.template.yaml:7 个默认特征(炉温/配比/CO波动/炉层/TiCl₄纯度) - 22 用例全通过;纯标准库零运行时依赖。
15 lines
501 B
Python
15 lines
501 B
Python
# -*- coding: utf-8 -*-
|
|
"""Ti-1 氯化车间质量预测模板包(Issue #68/#69/#73)。
|
|
|
|
子模块:
|
|
|
|
- ``features``:基于点位字典的特征工程(#68);
|
|
- ``model``:质量预测模型训练与评估(#69);
|
|
- ``serve``:模型部署到内核并接入驾驶舱(#73)。
|
|
|
|
设计口径:纯标准库、零运行时依赖,便于离线/隔离网部署(与既有
|
|
``recipe-optim`` / ``impurity-forecast`` 内核模块一致)。
|
|
"""
|
|
|
|
__all__ = ["features", "model", "serve"]
|