Show EMOS probability labels in intraday analysis

This commit is contained in:
2569718930@qq.com
2026-04-19 03:41:39 +08:00
parent 1892d638fa
commit c4f1151cf3
2 changed files with 42 additions and 10 deletions
@@ -329,7 +329,10 @@ function formatProbabilityEngineLabel(
: "LGBM 校准概率";
}
const engine = String(view.engine || "").trim().toLowerCase();
if (engine === "emos") {
const calibrationMode = String(view.calibrationMode || "")
.trim()
.toLowerCase();
if (engine === "emos" || calibrationMode.includes("emos")) {
return locale === "en-US" ? "EMOS-calibrated probability" : "EMOS 校准概率";
}
return locale === "en-US" ? "Model probability" : "模型概率";