English: https://bpmodel.ly.gd.edu.kg/
中文:https://bpmodel.ly.gd.edu.kg/cn/
Русский: https://bpmodel.ly.gd.edu.kg/ru/
This repository contains resources related to the development and evaluation of predictive models for blood pressure classification. The project explores the use of Multinomial Regression with Lasso Regularization and XGBoost models, along with a systematic feature selection process.
This project focuses on predicting blood pressure levels using machine learning models. The goal is to provide insights into the effectiveness of different models and their application in health-related predictions.
- Trained with various lasso regularization strengths.
- Optimal λ identified through cross-validation.
- 43 selected predictors and their coefficients provided.
- Utilizes Extreme Gradient Boosting with specific hyperparameters.
- Outperforms the Multinomial Regression Model with Lasso Regularization.
- Evaluation metrics include test accuracy and AUC.
- Feature selection using Gain scores of predictors.
- Top predictors identified, contributing to improved model performance.
- Test accuracy and AUC assessed for different numbers of selected predictors.
- Emphasis on the importance of accuracy in health-related predictive models.
- Acknowledgment of limitations and suggestions for improvement, including feature engineering and data enrichment.
- Proposal for integrating predictive models into health apps for personalized blood pressure suggestions.
- R libraries used: caret, dplyr, ggplot2, glmnet, xgboost, and more.
- Conducted in RStudio IDE version "Mountain Hydrangea" for Windows.
The RMarkdown file and its relevant files can be downloaded at the following link: https://bpmodel.ly.gd.edu.kg/manuscript/download.zip
To reproduce the findings and generate the same results presented in this paper, follow these steps:
- Download the Necessary Files:
-
Navigate to the provided link in your browser.
-
Unzip the downloaded file to a directory of your choice.
- Open RMarkdown in RStudio:
-
Ensure you have R and RStudio installed on your machine.
-
Open RStudio and navigate to the directory where you unzipped the files.
-
Open the RMarkdown file (manuscript.Rmd) in RStudio.
- Install Required Packages:
- If not already installed, install the required R packages from the CRAN.
- Knit the Document:
- Knit the RMarkdown file to reproduce the analysis. This will execute the code chunks, perform the analysis, and generate the final document.