{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/mimic-extract-a-data-extraction-preprocessing","title":"MIMIC-Extract: A Data Extraction, Preprocessing, and Representation Pipeline for MIMIC-III","arxiv_id":"1907.08322","date":"2019-07-19","proceeding":null,"authors":["Shirly Wang","Matthew B. A. McDermott","Geeticka Chauhan","Michael C. Hughes","Tristan Naumann","Marzyeh Ghassemi"],"abstract":"Robust machine learning relies on access to data that can be used with standardized frameworks in important tasks and the ability to develop models whose performance can be reasonably reproduced. In machine learning for healthcare, the community faces reproducibility challenges due to a lack of publicly accessible data and a lack of standardized data processing frameworks. We present MIMIC-Extract, an open-source pipeline for transforming raw electronic health record (EHR) data for critical care patients contained in the publicly-available MIMIC-III database into dataframes that are directly usable in common machine learning pipelines. MIMIC-Extract addresses three primary challenges in making complex health records data accessible to the broader machine learning community. First, it provides standardized data processing functions, including unit conversion, outlier detection, and aggregating semantically equivalent features, thus accounting for duplication and reducing missingness. Second, it preserves the time series nature of clinical data and can be easily integrated into clinically actionable prediction tasks in machine learning for health. Finally, it is highly extensible so that other researchers with related questions can easily use the same pipeline. We demonstrate the utility of this pipeline by showcasing several benchmark tasks and baseline results.","url_abs":"https://arxiv.org/abs/1907.08322v2","url_pdf":"https://arxiv.org/pdf/1907.08322v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"mimic-extract-a-data-extraction-preprocessing","repo_url":"https://github.com/MLforHealth/MIMIC_Extract","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"mimic-extract-a-data-extraction-preprocessing","repo_url":"https://github.com/asjad99/MIMIC_RL_COACH","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}}],"tasks":[{"task_slug":"machine-learning","task_name":"BIG-bench Machine Learning"},{"task_slug":"length-of-stay-prediction","task_name":"Length-of-Stay prediction"},{"task_slug":"outlier-detection","task_name":"Outlier Detection"},{"task_slug":"time-series-1","task_name":"Time Series"},{"task_slug":"time-series","task_name":"Time Series Analysis"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/length-of-stay-prediction-on-mimic-iii","task":"Length-of-Stay prediction","dataset":"MIMIC-III","model":"Random Forests (RF)","rank_in_archive_order":3,"of":5,"metrics":{"Accuracy (LOS>3 Days)":"69.5%","Accuracy (LOS>7 Days)":"92.3"},"uses_additional_data":false},{"leaderboard":"/sota/length-of-stay-prediction-on-mimic-iii","task":"Length-of-Stay prediction","dataset":"MIMIC-III","model":"Logistic Regression (LR)","rank_in_archive_order":4,"of":5,"metrics":{"Accuracy (LOS>3 Days)":"68.6%","Accuracy (LOS>7 Days)":"91.9"},"uses_additional_data":false},{"leaderboard":"/sota/length-of-stay-prediction-on-mimic-iii","task":"Length-of-Stay prediction","dataset":"MIMIC-III","model":"GRU-D","rank_in_archive_order":5,"of":5,"metrics":{"Accuracy (LOS>3 Days)":"68.3%","Accuracy (LOS>7 Days)":"91.2"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1907.08322","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1907.08322"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/asjad99/MIMIC_RL_COACH","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/MLforHealth/MIMIC_Extract","reach":null}],"summary":{"ran_draft_wrong":1},"by_repo_kind":{"official":{"samples":1,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"16c701adbbcf1824","entry":"continuous_outcome_processing","repo":"MLforHealth/MIMIC_Extract","repo_kind":"official","path":"mimic_direct_extract.py","file_url":"https://github.com/MLforHealth/MIMIC_Extract/blob/HEAD/mimic_direct_extract.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"16c701adbbcf1824"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}