Skip to content

Fix MICRON handling of unequal code lists - #1234

Open
fbonc wants to merge 1 commit into
sunlabuiuc:masterfrom
fbonc:fix-micron-padding-concat
Open

Fix MICRON handling of unequal code lists#1234
fbonc wants to merge 1 commit into
sunlabuiuc:masterfrom
fbonc:fix-micron-padding-concat

Conversation

@fbonc

@fbonc fbonc commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Issue
MICRON treats individual codes as visits. Unequal diagnosis and procedure counts can crash concatenation, while padding alone can cause predictions to ignore the shorter list.

Fix
Pool flat code lists into one visit, preserve nested visit histories, and return zero reconstruction loss for single-visit inputs.

Notes
Regression tests verify that both features receive prediction gradients and nested inputs retain their visits.

@fbonc
fbonc force-pushed the fix-micron-padding-concat branch from aa745cb to 274d4d5 Compare September 10, 2026 19:12
@fbonc
fbonc force-pushed the fix-micron-padding-concat branch from 274d4d5 to b4ee7ae Compare September 10, 2026 20:37
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.

1 participant