Skip to content

Wp/add xray to multimodal task#884

Closed
will-pang wants to merge 40 commits intosunlabuiuc:masterfrom
Multimodal-PyHealth:wp/add-xray-to-multimodal-task
Closed

Wp/add xray to multimodal task#884
will-pang wants to merge 40 commits intosunlabuiuc:masterfrom
Multimodal-PyHealth:wp/add-xray-to-multimodal-task

Conversation

@will-pang
Copy link
Contributor

No description provided.

will-pang and others added 30 commits February 20, 2026 15:03
…xes ModuleNotFoundError for users who don't have polars installed

- Track per category observation status when building lab vectors: True = value was observed, False = imputed 0.0, emitted as labs_mask field with the same (times, values) structure as labs
- Add labs_mask to input_schema (stagenet_tensor) so it is batched and padded in sync w/ labs
- Propagate all false mask rows through both the inner fallback path and the post-loop all-admissions guard
Merging as I've addressed Rian's feedback with a few additions:

(1) boolean mask for labs
(2) cleaned up __init__ patterns
(3) added polars lazy import
@will-pang will-pang closed this Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants