Metadata-Version: 2.4
Name: phm-algo-ias
Version: 1.3.0
Summary: Example algo package with Cython-compiled submodules
Author: Your Name
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Cython
Classifier: Programming Language :: C
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: passlib==1.7.4
Requires-Dist: pandas==2.2.3
Requires-Dist: numpy==2.0.1
Requires-Dist: scipy==1.14.0
Requires-Dist: scikit-learn==1.5.1
Requires-Dist: matplotlib==3.9.2
Requires-Dist: seaborn==0.13.2
Requires-Dist: openpyxl==3.1.5
Requires-Dist: statsmodels==0.14.4

# 參數列表
|   | 演算法功能                         | 建模參數 |
|-----|-----------------------------------|---------------------------|
| 0   | DEMO                            | "0, 1, 1, 1, 1, 1, 1, 1" |
| 1-1   | 一般建模(TSMC)                            | "1, 0, 1, 3, 3, 1, 1, 1" |
| 1-2   | 一般建模(SDP、雲界)                      | "1, 0, 1, 1, 2, 1, 1, 1" |
| 2-1   | 快速建模-暫態(TSMC)                             | "1, 0, 1, 3, 3, 1, 1, 2" |
| 2-2   | 快速建模-穩態(TSMC)                             | "1, 0, 1, 3, 3, 1, 1, 3" |

# 參數意義
|   | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| 1. 時間長度設定 | min | hour |  |  |  |
| 2. 測試資料群值處理 | close | open |  |  |  |
| 3. 低解析度特徵篩選 | close | open |  |  |  |
| 4. 特徵選擇 |  | Time, Frequency, fail mode | Time, Frequency | Frequency |  |
| 5. Scale |  | df_scaled = df | Standardize() | minmax() |  |
| 6. 模型 |  | PCA + T² |  |  |  |
| 7. rul_deadline |  | T² + 12 * σ(T²) → Score | Warning: T² + 24 * σ(T²) → Score<br>rul_deadline = 0 |  |  |
| 8. feature_extraction_setting |  | 每小時取特徵<br>小時不足1800筆則刪除 | 依資料進行rolling計算<br>Window = 120s<br>Step = 60s (暫態) | Rolling計算<br>Window = 3600s<br>Step = 1800s (穩態) |  |



