Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/api/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ API Reference
models/pyhealth.models.MLP
models/pyhealth.models.CNN
models/pyhealth.models.RNN
models/pyhealth.models.mixlst
models/pyhealth.models.GNN
models/pyhealth.models.Transformer
models/pyhealth.models.TransformersModel
Expand Down
20 changes: 20 additions & 0 deletions docs/api/models/pyhealth.models.mixlstm.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pyhealth.models.MixLSTM
=======================

The MixLSTM model from Oh et al. 2020, "Relaxed Parameter Sharing:
Effectively Modeling Time-Varying Relationships in Clinical Time-Series"
(https://arxiv.org/abs/1906.02898).

MixLSTM addresses the problem of *temporal conditional shift* in clinical
time-series, i.e., settings in which the relationship between input features
and outcomes changes over the course of a patient's hospital stay. Instead
of sharing a single set of LSTM parameters across all time steps, MixLSTM
maintains ``K`` independent LSTM cells and, at every time step, computes a
learned convex combination of their parameters using mixing coefficients.
This enables smooth transitions between different temporal dynamics without
requiring hard segment boundaries.

.. autoclass:: pyhealth.models.MixLSTM
:members:
:undoc-members:
:show-inheritance:
Loading