├── MEDIAN LOS BY DIAGNOSIS.JPG ├── README.md ├── R_Code ├── Build Dataset_dummy_variables.R ├── Build_Dataset_Numeric_Variables.R ├── build_models_aws_pilots.R └── build_models_aws_training.R ├── compare different.png ├── comprae all models.png ├── correlation matrix.JPG ├── full model comparison.png ├── histograms.JPG ├── mimic entity relationship diagram.png ├── model_accuracies.xlsx ├── mortality by admission_location.JPG ├── mortality by age.JPG ├── sql_code ├── build_database │ ├── postgres_add_indexes.sql │ ├── postgres_checks.sql │ ├── postgres_create_tables.sql │ └── postgres_load_data.sql └── feature_engineering │ ├── HeightWeightQuery.sql │ ├── blood-gas-first-day-arterial.sql │ ├── blood-gas-first-day.sql │ ├── echo-data.sql │ ├── gcs-first-day.sql │ ├── labs-first-day.sql │ ├── oasis.sql │ ├── saps.sql │ ├── sapsii.sql │ ├── sofa.sql │ ├── urine-output-first-day.sql │ ├── ventilation-durations.sql │ ├── ventilation-first-day.sql │ └── vitals-first-day.sql ├── target by admission type where patient died.JPG ├── target count by admission location.JPG ├── unbalanced target.JPG ├── variable worth.JPG └── vent duration by admission location and hospital expire flag.JPG /MEDIAN LOS BY DIAGNOSIS.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/MEDIAN LOS BY DIAGNOSIS.JPG -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/README.md -------------------------------------------------------------------------------- /R_Code/Build Dataset_dummy_variables.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/R_Code/Build Dataset_dummy_variables.R -------------------------------------------------------------------------------- /R_Code/Build_Dataset_Numeric_Variables.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/R_Code/Build_Dataset_Numeric_Variables.R -------------------------------------------------------------------------------- /R_Code/build_models_aws_pilots.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/R_Code/build_models_aws_pilots.R -------------------------------------------------------------------------------- /R_Code/build_models_aws_training.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/R_Code/build_models_aws_training.R -------------------------------------------------------------------------------- /compare different.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/compare different.png -------------------------------------------------------------------------------- /comprae all models.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/comprae all models.png -------------------------------------------------------------------------------- /correlation matrix.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/correlation matrix.JPG -------------------------------------------------------------------------------- /full model comparison.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/full model comparison.png -------------------------------------------------------------------------------- /histograms.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/histograms.JPG -------------------------------------------------------------------------------- /mimic entity relationship diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/mimic entity relationship diagram.png -------------------------------------------------------------------------------- /model_accuracies.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/model_accuracies.xlsx -------------------------------------------------------------------------------- /mortality by admission_location.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/mortality by admission_location.JPG -------------------------------------------------------------------------------- /mortality by age.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/mortality by age.JPG -------------------------------------------------------------------------------- /sql_code/build_database/postgres_add_indexes.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/build_database/postgres_add_indexes.sql -------------------------------------------------------------------------------- /sql_code/build_database/postgres_checks.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/build_database/postgres_checks.sql -------------------------------------------------------------------------------- /sql_code/build_database/postgres_create_tables.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/build_database/postgres_create_tables.sql -------------------------------------------------------------------------------- /sql_code/build_database/postgres_load_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/build_database/postgres_load_data.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/HeightWeightQuery.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/HeightWeightQuery.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/blood-gas-first-day-arterial.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/blood-gas-first-day-arterial.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/blood-gas-first-day.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/blood-gas-first-day.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/echo-data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/echo-data.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/gcs-first-day.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/gcs-first-day.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/labs-first-day.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/labs-first-day.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/oasis.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/oasis.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/saps.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/saps.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/sapsii.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/sapsii.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/sofa.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/sofa.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/urine-output-first-day.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/urine-output-first-day.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/ventilation-durations.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/ventilation-durations.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/ventilation-first-day.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/ventilation-first-day.sql -------------------------------------------------------------------------------- /sql_code/feature_engineering/vitals-first-day.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/sql_code/feature_engineering/vitals-first-day.sql -------------------------------------------------------------------------------- /target by admission type where patient died.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/target by admission type where patient died.JPG -------------------------------------------------------------------------------- /target count by admission location.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/target count by admission location.JPG -------------------------------------------------------------------------------- /unbalanced target.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/unbalanced target.JPG -------------------------------------------------------------------------------- /variable worth.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/variable worth.JPG -------------------------------------------------------------------------------- /vent duration by admission location and hospital expire flag.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AGARNER18/Respiratory-Mortality/HEAD/vent duration by admission location and hospital expire flag.JPG --------------------------------------------------------------------------------