Add target construction and training script for DeepHealth model

- Implemented target construction in `targets.py` for next-token and unique-time set supervision.
- Added validation functions and utility methods for target building.
- Created a comprehensive training script in `train.py` that includes data loading, model building, optimizer setup, and training loop with early stopping and logging.
- Integrated loss functions and readout mechanisms based on target modes.
- Established dataset splitting and DataLoader configurations for training, validation, and testing.
This commit is contained in:
2026-06-12 10:28:16 +08:00
commit 5e979e061b
13 changed files with 9165 additions and 0 deletions

1256
labels.csv Normal file

File diff suppressed because it is too large Load Diff