fix colors

This commit is contained in:
2026-01-19 19:43:57 +08:00
parent b98ba91fc1
commit a01123b5b5
29 changed files with 7210 additions and 92 deletions

View File

@@ -24,11 +24,12 @@ INPUT_PATH = Path(__file__).parent / "01_clean.xlsx"
OUTPUT_PATH = Path(__file__).parent / "02_demand.xlsx"
# 模型参数
C = 400 # 有效容量上限 (基于 μ_max = 396.6)
P_TRUNC_THRESHOLD = 0.02 # 截断概率阈值 (调低以捕获更多潜在截断站点)
# 任务参数(按需可调)
C = 350 # 有效容量上限
P_TRUNC_THRESHOLD = 0.10 # 截断概率阈值 p_thresh
def truncation_correction(mu: float, sigma: float, C: float = 400) -> tuple:
def truncation_correction(mu: float, sigma: float, C: float = 350) -> tuple:
"""
截断回归修正