dalgu90 / icd-coding-benchmark

Automatic ICD coding benchmark based on the MIMIC dataset
MIT License
35 stars 5 forks source link

Add the Initial Version of Interactive Demo #42

Closed dalgu90 closed 2 years ago

dalgu90 commented 2 years ago

Hey team. I added an initial version of the interactive ICD coding demo.
The demo app is written by Streamlit and can run only one model for now. We can run the app (a dataset and a model needed) by running a command like

$ streamlit run app.py -- --config_path configs/demo/caml_mimic3_50.yml

While implementing the app, I also updated other things in the code:

Here's a screenshot of the demo. image Please nitpick any details of the code.

dalgu90 commented 2 years ago

Thanks for the approval @abheesht17 . I just passed the pre-commit hooks and will merge this PR.