Skip to content

Towards Unified Sequence Representation VII: Add MIMIC-IV YAIB example for MLP_V2 and LogisticRegression_V2 - #1356

Draft
Logiquo wants to merge 2 commits into
feat/seq-v2-6from
feat/seq-v2-7
Draft

Logiquo wants to merge 2 commits into
feat/seq-v2-6from
feat/seq-v2-7

Conversation

@Logiquo

@Logiquo Logiquo commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Seventh PR in the stack toward a unified sequence representation, on top of #1355. Example only; no library changes.

examples/yaib_mimic4_mlp_v2.py trains MLP_V2 (the default) or LogisticRegression_V2 (--model logistic_regression) on each of the five YAIB MIMIC-IV tasks. It follows the same split, preflight, training, checkpoint and reporting flow as the RNN_V2 example.

@Logiquo
Logiquo added this pull request to stack #1339 October 30, 2026 11:41
@Logiquo
Logiquo marked this pull request as draft October 30, 2026 11:42
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Test Coverage

Total: 75.23% (21532 / 28623 lines)

No modified files under pyhealth/.

Workflow run · 18405eb

@Logiquo
Logiquo removed this pull request from stack #1339 November 1, 2026 09:45
@Logiquo
Logiquo added this pull request to stack #1359 November 1, 2026 09:45
@Logiquo
Logiquo force-pushed the feat/seq-v2-7 branch 2 times, most recently from 9a354eb to 5e43996 Compare November 1, 2026 11:12
@Logiquo Logiquo changed the title Towards Unified Sequence Representation VII: Add MIMIC-IV YAIB example for Unified_MLP and Unified_LogisticRegression Towards Unified Sequence Representation VII: Add MIMIC-IV YAIB example for MLP_V2 and LogisticRegression_V2 Nov 1, 2026
@Logiquo
Logiquo force-pushed the feat/seq-v2-7 branch 2 times, most recently from 59f7b40 to 199e5ac Compare November 1, 2026 21:52
@Logiquo
Logiquo force-pushed the feat/seq-v2-7 branch 2 times, most recently from cd2a2fb to 3d66db5 Compare November 1, 2026 23:59
examples/yaib_mimic4_unified_mlp.py trains Unified_MLP (default) or, with
--model logistic_regression, Unified_LogisticRegression on each of the
five YAIB MIMIC-IV tasks and writes checkpoints, logs, the configuration
and test metrics. --check verifies the data files and the device without
preprocessing or training.

This branch has not been deployed

No deployments
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