Development Workflow¶
Development workflow¶
-
We start with MIMIC data that's been converted to the CLIF standard: https://physionet.org/content/mimic-iv-ext-clif. We first collate and tokenize it with the cocoa package.
-
Next we train a model on this data (with hyperparameter tuning):
-
You can get generative predictions with:
-
You can get representations of the initial parts of the sequences and rep-based predictions with:
[!TIP] For this example, we used a small fraction of the whole dataset, allowing commands to complete in a timely manner. For serious use cases, consider using a terminal multiplexer like tmux or screen so that commands will continue to run if your connection is interrupted.