update pay ui

This commit is contained in:
2025-12-10 11:02:09 +08:00
parent d9daaeed19
commit e501ac3819
21 changed files with 5514 additions and 151 deletions

View File

@@ -85,9 +85,12 @@ class LSTMAutoencoder(nn.Module):
nn.Tanh(), # 限制范围,增加约束
)
# 使用 LeakyReLU 替代 ReLU
# 原因Z-Score 数据范围是 [-5, +5]ReLU 会截断负值,丢失跌幅信息
# LeakyReLU 保留负值信号(乘以 0.1
self.bottleneck_up = nn.Sequential(
nn.Linear(latent_dim, hidden_dim),
nn.ReLU(),
nn.LeakyReLU(negative_slope=0.1),
)
# Decoder: 单向 LSTM