Junyi Fan
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Junyi Fan has a total of 9 co-authors. Here are the top co-authors by number of shared publications:
- Li Sun
Department of Industrial and Systems Engineering, University of Southern California, 3715 McClintock Ave. GER 240, Los Angeles, CA 90087, USA
6 shared publications - Maryam Pishgar
Department of Health Science, California State University, Long Beach, Long Beach, 90840, CA, USA
6 shared publications - Kamiar Alaei
Department of Health Science, California State University, Long Beach, CA 90840, USA
5 shared publications - Shuheng Chen
Department of Industrial and Systems Engineering, University of Southern California, 3715 McClintock Ave. GER 240, Los Angeles, CA 90087, USA
5 shared publications - Yong Si
Daniel J. Epstein Department of Industrial and Systems Engineering, University of Southern California, Los Angeles, 90089, CA, USA
5 shared publications - Elham Pishgar
Colorectal Research Center, Iran University of Medical Sciences, Tehran, Iran
4 shared publications
Latest Publications
- Open Access
- 30 March 2026
- Published by MDPI AG in BioMedInformatics
- Vol. 6 (2) , 17
Machine Learning-Based Prediction of Mortality in Geriatric Traumatic Brain Injury Patients
Traumatic Brain Injury (TBI) is a major contributor to mortality among older adults, with geriatric patients facing disproportionately high risk due to age-related physiological vulnerability and comorbidities. Early and accurate prediction of mortality is essential for guiding clinical decision-making and optimizing ICU resource allocation. In this study, we utilized the MIMIC-III database and identified a final analytic cohort of 667 geriatric TBI patients, on which we developed a machine learning framework for 30-day mortality prediction. A rigorous preprocessing pipeline—including Random Forest-based imputation, feature engineering, and hybrid selection—was implemented to refine predictors from 69 to 9 clinically meaningful variables. CatBoost emerged as the top-performing model, achieving an AUROC of 0.867 (95% CI: 0.809–0.922), with a sensitivity of 0.752 and a specificity of 0.888 on the independent test set. SHAP analysis confirmed the importance of the GCS score, oxygen saturation, and prothrombin time as dominant predictors. These findings highlight the potential value of interpretable machine learning tools for early mortality risk stratification in elderly TBI patients and support further validation for future clinical use.
- 30 March 2026
- Published by MDPI AG in BioMedInformatics
- Vol. 6 (2) , 17
Open AccessMachine Learning-Based Prediction of Mortality in Geriatric Traumatic Brain Injury Patients
Traumatic Brain Injury (TBI) is a major contributor to mortality among older adults, with geriatric patients facing disproportionately high risk due to age-related physiological vulnerability and comorbidities. Early and accurate prediction of mortality is essential for guiding clinical decision-making and optimizing ICU resource allocation. In this study, we utilized the MIMIC-III database and identified a final analytic cohort of 667 geriatric TBI patients, on which we developed a machine learning framework for 30-day mortality prediction. A rigorous preprocessing pipeline—including Random Forest-based imputation, feature engineering, and hybrid selection—was implemented to refine predictors from 69 to 9 clinically meaningful variables. CatBoost emerged as the top-performing model, achieving an AUROC of 0.867 (95% CI: 0.809–0.922), with a sensitivity of 0.752 and a specificity of 0.888 on the independent test set. SHAP analysis confirmed the importance of the GCS score, oxygen saturation, and prothrombin time as dominant predictors. These findings highlight the potential value of interpretable machine learning tools for early mortality risk stratification in elderly TBI patients and support further validation for future clinical use.
- Top Cited PapersOpen Access
- 13 January 2026
- Published by MDPI AG in BioMedInformatics
- Vol. 6 (1) , 4
Development of Machine Learning Models to Predict 28-Day Mortality in Patients with Sepsis-Associated Liver Injury
Background: Sepsis-associated liver injury (SALI) is a serious complication of sepsis that increases the risk of organ dysfunction and mortality; however, early identification of high-risk patients remains difficult due to nonspecific clinical features and complex pathophysiology. This study aimed to develop machine learning (ML) models to predict 28-day mortality in SALI patients within the first 24 h of intensive care unit (ICU) admission. Methods: A total of 1157 patients were included, comprising 826 from the MIMIC-IV (v2.2) database, 225 from MIMIC-III (v1.4), and 106 from eICU (v2.0). Data from MIMIC-IV were split into training and internal validation sets (7:3), while MIMIC-III and eICU served as external validation cohorts. Thirty clinically relevant features were selected. Eight ML models were evaluated using AUROC, accuracy, precision, recall, F1-score, and specificity. SHapley Additive exPlanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME) enhanced interpretability. Results: XGBoost model achieved the best performance, with an AUROC of 0.8556 (95% CI: 0.807–0.898), accuracy of 0.7702, recall of 0.8469, and specificity of 0.7200. SHAP identified lactate, blood urea nitrogen, heart rate, hemoglobin, and diastolic blood pressure as key predictors, while LIME provided patient-level interpretability. Conclusions: The XGBoost-based model may facilitate early mortality risk stratification and support clinical decision-making for SALI patients in ICU settings.
- 13 January 2026
- Published by MDPI AG in BioMedInformatics
- Vol. 6 (1) , 4
Top Cited PapersOpen AccessDevelopment of Machine Learning Models to Predict 28-Day Mortality in Patients with Sepsis-Associated Liver Injury
Background: Sepsis-associated liver injury (SALI) is a serious complication of sepsis that increases the risk of organ dysfunction and mortality; however, early identification of high-risk patients remains difficult due to nonspecific clinical features and complex pathophysiology. This study aimed to develop machine learning (ML) models to predict 28-day mortality in SALI patients within the first 24 h of intensive care unit (ICU) admission. Methods: A total of 1157 patients were included, comprising 826 from the MIMIC-IV (v2.2) database, 225 from MIMIC-III (v1.4), and 106 from eICU (v2.0). Data from MIMIC-IV were split into training and internal validation sets (7:3), while MIMIC-III and eICU served as external validation cohorts. Thirty clinically relevant features were selected. Eight ML models were evaluated using AUROC, accuracy, precision, recall, F1-score, and specificity. SHapley Additive exPlanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME) enhanced interpretability. Results: XGBoost model achieved the best performance, with an AUROC of 0.8556 (95% CI: 0.807–0.898), accuracy of 0.7702, recall of 0.8469, and specificity of 0.7200. SHAP identified lactate, blood urea nitrogen, heart rate, hemoglobin, and diastolic blood pressure as key predictors, while LIME provided patient-level interpretability. Conclusions: The XGBoost-based model may facilitate early mortality risk stratification and support clinical decision-making for SALI patients in ICU settings.
- Open Access
A Cross-Chain Event-Driven Data Infrastructure for Aave Protocol Analytics and Applications
Decentralized lending protocols, exemplified by Aave V3, have transformed financial intermediation by enabling permissionless, multi-chain borrowing and lending without intermediaries. Despite managing over $10 billion in total value locked, empirical research remains severely constrained by the lack of standardized, cross-chain event-level datasets. This paper introduces the first comprehensive, event-driven data infrastructure for Aave V3 spanning six major EVM-compatible chains (Ethereum, Arbitrum, Optimism, Polygon, Avalanche, and Base) from respective deployment blocks through October 2025. We collect and fully decode eight core event types -- Supply, Borrow, Withdraw, Repay, LiquidationCall, FlashLoan, ReserveDataUpdated, and MintedToTreasury -- producing over 50 million structured records enriched with block metadata and USD valuations. Using an open-source Python pipeline with dynamic batch sizing and automatic sharding (each file less than or equal to 1 million rows), we ensure strict chronological ordering and full reproducibility. The resulting publicly available dataset enables granular analysis of capital flows, interest rate dynamics, liquidation cascades, and cross-chain user behavior, providing a foundational resource for future studies on decentralized lending markets and systemic risk.
Open AccessA Cross-Chain Event-Driven Data Infrastructure for Aave Protocol Analytics and Applications
Decentralized lending protocols, exemplified by Aave V3, have transformed financial intermediation by enabling permissionless, multi-chain borrowing and lending without intermediaries. Despite managing over $10 billion in total value locked, empirical research remains severely constrained by the lack of standardized, cross-chain event-level datasets. This paper introduces the first comprehensive, event-driven data infrastructure for Aave V3 spanning six major EVM-compatible chains (Ethereum, Arbitrum, Optimism, Polygon, Avalanche, and Base) from respective deployment blocks through October 2025. We collect and fully decode eight core event types -- Supply, Borrow, Withdraw, Repay, LiquidationCall, FlashLoan, ReserveDataUpdated, and MintedToTreasury -- producing over 50 million structured records enriched with block metadata and USD valuations. Using an open-source Python pipeline with dynamic batch sizing and automatic sharding (each file less than or equal to 1 million rows), we ensure strict chronological ordering and full reproducibility. The resulting publicly available dataset enables granular analysis of capital flows, interest rate dynamics, liquidation cascades, and cross-chain user behavior, providing a foundational resource for future studies on decentralized lending markets and systemic risk.
- Open Access
- 10 December 2025
- Published by MDPI AG in BioMedInformatics
- Vol. 5 (4) , 71
Development and Validation of a CatBoost-Based Model for Predicting Significant Creatinine Elevation in ICU Patients Receiving Vancomycin Therapy
Vancomycin remains a cornerstone for severe Gram-positive infections in the ICU, yet creatinine elevation—a sensitive marker of early renal stress—occurs frequently and complicates therapy. We developed a machine learning model to predict vancomycin-associated creatinine elevation using routinely available clinical data, enabling preemptive risk stratification. In this retrospective MIMIC-IV cohort study ( ICU adults aged 18–80 receiving vancomycin), the primary outcome was creatinine elevation per KDIGO criteria (≥0.3 mg/dL within 48 h or ≥50% within 7 d). A two-stage feature selection (SelectKBest + Random Forest) identified 15 predictors from 30 candidates. Six algorithms were compared via 5-fold cross-validation. CatBoost was selected for final modeling; interpretability was assessed using SHAP values and Accumulated Local Effects (ALE) plots. Creatinine elevation occurred in 2903 patients (28.2%). CatBoost achieved AUROC 0.818 (95% CI: 0.801–0.834), sensitivity 0.800, specificity 0.681, and NPV 0.900. Top predictors were serum phosphate, total bilirubin, magnesium, Charlson Comorbidity Index, and APSIII score. SHAP analysis confirmed hyperphosphatemia as the strongest driver; ALE plots revealed non-linear, clinically plausible thresholds (e.g., phosphate >4.5 mg/dL sharply increased risk). This interpretable model accurately predicts vancomycin-associated creatinine elevation using standard ICU monitoring data. With high negative predictive value, it supports early exclusion of low-risk patients and targeted interventions (e.g., intensified TDM, nephrotoxin avoidance) in high-risk cases—facilitating precision antimicrobial stewardship in critical care.- 10 December 2025
- Published by MDPI AG in BioMedInformatics
- Vol. 5 (4) , 71
Open AccessDevelopment and Validation of a CatBoost-Based Model for Predicting Significant Creatinine Elevation in ICU Patients Receiving Vancomycin Therapy
Vancomycin remains a cornerstone for severe Gram-positive infections in the ICU, yet creatinine elevation—a sensitive marker of early renal stress—occurs frequently and complicates therapy. We developed a machine learning model to predict vancomycin-associated creatinine elevation using routinely available clinical data, enabling preemptive risk stratification. In this retrospective MIMIC-IV cohort study ( ICU adults aged 18–80 receiving vancomycin), the primary outcome was creatinine elevation per KDIGO criteria (≥0.3 mg/dL within 48 h or ≥50% within 7 d). A two-stage feature selection (SelectKBest + Random Forest) identified 15 predictors from 30 candidates. Six algorithms were compared via 5-fold cross-validation. CatBoost was selected for final modeling; interpretability was assessed using SHAP values and Accumulated Local Effects (ALE) plots. Creatinine elevation occurred in 2903 patients (28.2%). CatBoost achieved AUROC 0.818 (95% CI: 0.801–0.834), sensitivity 0.800, specificity 0.681, and NPV 0.900. Top predictors were serum phosphate, total bilirubin, magnesium, Charlson Comorbidity Index, and APSIII score. SHAP analysis confirmed hyperphosphatemia as the strongest driver; ALE plots revealed non-linear, clinically plausible thresholds (e.g., phosphate >4.5 mg/dL sharply increased risk). This interpretable model accurately predicts vancomycin-associated creatinine elevation using standard ICU monitoring data. With high negative predictive value, it supports early exclusion of low-risk patients and targeted interventions (e.g., intensified TDM, nephrotoxin avoidance) in high-risk cases—facilitating precision antimicrobial stewardship in critical care. - Open Access
Interpretable Machine Learning Model for Early Prediction of Acute Kidney Injury in Critically Ill Patients with Cirrhosis: A Retrospective Study
Background: Cirrhosis is a progressive liver disease with high mortality and frequent complications, notably acute kidney injury (AKI), which occurs in up to 50% of hospitalized patients and worsens outcomes. AKI stems from complex hemodynamic, inflammatory, and metabolic changes, making early detection essential. Many predictive tools lack accuracy, interpretability, and alignment with intensive care unit (ICU) workflows. This study developed an interpretable machine learning model for early AKI prediction in critically ill patients with cirrhosis. Methods: We conducted a retrospective analysis of the MIMIC-IV v2.2 database, identifying 1240 adult ICU patients with cirrhosis and excluding those with ICU stays under 48 hours or missing key data. Laboratory and physiological variables from the first 48 hours were extracted. The pipeline included preprocessing, missingness filtering, LASSO feature selection, and SMOTE class balancing. Six algorithms-LightGBM, CatBoost, XGBoost, logistic regression, naive Bayes, and neural networks-were trained and evaluated using AUROC, accuracy, F1-score, sensitivity, specificity, and predictive values. Results: LightGBM achieved the best performance (AUROC 0.808, 95% CI 0.741-0.856; accuracy 0.704; NPV 0.911). Key predictors included prolonged partial thromboplastin time, absence of outside-facility 20G placement, low pH, and altered pO2, consistent with known cirrhosis-AKI mechanisms and suggesting actionable targets. Conclusion: The LightGBM-based model enables accurate early AKI risk stratification in ICU patients with cirrhosis using routine clinical variables. Its high negative predictive value supports safe de-escalation for low-risk patients, and interpretability fosters clinician trust and targeted prevention. External validation and integration into electronic health record systems are warranted.
Open AccessInterpretable Machine Learning Model for Early Prediction of Acute Kidney Injury in Critically Ill Patients with Cirrhosis: A Retrospective Study
Background: Cirrhosis is a progressive liver disease with high mortality and frequent complications, notably acute kidney injury (AKI), which occurs in up to 50% of hospitalized patients and worsens outcomes. AKI stems from complex hemodynamic, inflammatory, and metabolic changes, making early detection essential. Many predictive tools lack accuracy, interpretability, and alignment with intensive care unit (ICU) workflows. This study developed an interpretable machine learning model for early AKI prediction in critically ill patients with cirrhosis. Methods: We conducted a retrospective analysis of the MIMIC-IV v2.2 database, identifying 1240 adult ICU patients with cirrhosis and excluding those with ICU stays under 48 hours or missing key data. Laboratory and physiological variables from the first 48 hours were extracted. The pipeline included preprocessing, missingness filtering, LASSO feature selection, and SMOTE class balancing. Six algorithms-LightGBM, CatBoost, XGBoost, logistic regression, naive Bayes, and neural networks-were trained and evaluated using AUROC, accuracy, F1-score, sensitivity, specificity, and predictive values. Results: LightGBM achieved the best performance (AUROC 0.808, 95% CI 0.741-0.856; accuracy 0.704; NPV 0.911). Key predictors included prolonged partial thromboplastin time, absence of outside-facility 20G placement, low pH, and altered pO2, consistent with known cirrhosis-AKI mechanisms and suggesting actionable targets. Conclusion: The LightGBM-based model enables accurate early AKI risk stratification in ICU patients with cirrhosis using routine clinical variables. Its high negative predictive value supports safe de-escalation for low-risk patients, and interpretability fosters clinician trust and targeted prevention. External validation and integration into electronic health record systems are warranted.
- Open Access
Clinically Interpretable Mortality Prediction for ICU Patients with Diabetes and Atrial Fibrillation: A Machine Learning Approach
Background: Patients with both diabetes mellitus (DM) and atrial fibrillation (AF) face elevated mortality in intensive care units (ICUs), yet models targeting this high-risk group remain limited. Objective: To develop an interpretable machine learning (ML) model predicting 28-day mortality in ICU patients with concurrent DM and AF using early-phase clinical data. Methods: A retrospective cohort of 1,535 adult ICU patients with DM and AF was extracted from the MIMIC-IV database. Data preprocessing involved median/mode imputation, z-score normalization, and early temporal feature engineering. A two-step feature selection pipeline-univariate filtering (ANOVA F-test) and Random Forest-based multivariate ranking-yielded 19 interpretable features. Seven ML models were trained with stratified 5-fold cross-validation and SMOTE oversampling. Interpretability was assessed via ablation and Accumulated Local Effects (ALE) analysis. Results: Logistic regression achieved the best performance (AUROC: 0.825; 95% CI: 0.779-0.867), surpassing more complex models. Key predictors included RAS, age, bilirubin, and extubation. ALE plots showed intuitive, non-linear effects such as age-related risk acceleration and bilirubin thresholds. Conclusion: This interpretable ML model offers accurate risk prediction and clinical insights for early ICU triage in patients with DM and AF.
Open AccessClinically Interpretable Mortality Prediction for ICU Patients with Diabetes and Atrial Fibrillation: A Machine Learning Approach
Background: Patients with both diabetes mellitus (DM) and atrial fibrillation (AF) face elevated mortality in intensive care units (ICUs), yet models targeting this high-risk group remain limited. Objective: To develop an interpretable machine learning (ML) model predicting 28-day mortality in ICU patients with concurrent DM and AF using early-phase clinical data. Methods: A retrospective cohort of 1,535 adult ICU patients with DM and AF was extracted from the MIMIC-IV database. Data preprocessing involved median/mode imputation, z-score normalization, and early temporal feature engineering. A two-step feature selection pipeline-univariate filtering (ANOVA F-test) and Random Forest-based multivariate ranking-yielded 19 interpretable features. Seven ML models were trained with stratified 5-fold cross-validation and SMOTE oversampling. Interpretability was assessed via ablation and Accumulated Local Effects (ALE) analysis. Results: Logistic regression achieved the best performance (AUROC: 0.825; 95% CI: 0.779-0.867), surpassing more complex models. Key predictors included RAS, age, bilirubin, and extubation. ALE plots showed intuitive, non-linear effects such as age-related risk acceleration and bilirubin thresholds. Conclusion: This interpretable ML model offers accurate risk prediction and clinical insights for early ICU triage in patients with DM and AF.
- Open Access
Retrospective Machine Learning Approach for Forecasting In-Hospital Death in ICU Patients After Cardiac Arrest
Accurate identification of patients at high risk of in-hospital mortality in intensive care units (ICUs) is vital for enhancing clinical decision-making and improving patient care strategies. As traditional statistical models often fall short in modeling nonlinear and multifactorial clinical variables, this study explores a machine learning (ML) approach to overcome these limitations. Our research performed a retrospective study using the MIMIC-IV database, focusing on 2,385 ICU patients who met predefined eligibility criteria. Numerical features were summarized through statistical aggregations (maximum, minimum, mean), while categorical attributes underwent structured encoding. The dataset was split into 70% for training and 30% for validation. We applied a combination of regularization techniques (LASSO, Ridge, ElasticNet) and Random Forest-based importance ranking for feature selection. Multiple supervised ML algorithms, including CatBoost, XGBoost, and Support Vector Machines, were benchmarked using metrics such as AUC-ROC, calibration plots, and decision curve analysis. SHAP values were employed to enhance model explainability. The CatBoost algorithm achieved the most favorable results with AUC scores of 0.904 and 0.868 on the training and test sets. These findings suggest that the proposed model offers a reliable, interpretable, and potentially integrable solution for ICU mortality risk prediction.
Open AccessRetrospective Machine Learning Approach for Forecasting In-Hospital Death in ICU Patients After Cardiac Arrest
Accurate identification of patients at high risk of in-hospital mortality in intensive care units (ICUs) is vital for enhancing clinical decision-making and improving patient care strategies. As traditional statistical models often fall short in modeling nonlinear and multifactorial clinical variables, this study explores a machine learning (ML) approach to overcome these limitations. Our research performed a retrospective study using the MIMIC-IV database, focusing on 2,385 ICU patients who met predefined eligibility criteria. Numerical features were summarized through statistical aggregations (maximum, minimum, mean), while categorical attributes underwent structured encoding. The dataset was split into 70% for training and 30% for validation. We applied a combination of regularization techniques (LASSO, Ridge, ElasticNet) and Random Forest-based importance ranking for feature selection. Multiple supervised ML algorithms, including CatBoost, XGBoost, and Support Vector Machines, were benchmarked using metrics such as AUC-ROC, calibration plots, and decision curve analysis. SHAP values were employed to enhance model explainability. The CatBoost algorithm achieved the most favorable results with AUC scores of 0.904 and 0.868 on the training and test sets. These findings suggest that the proposed model offers a reliable, interpretable, and potentially integrable solution for ICU mortality risk prediction.