Skip to content

This repository houses the comprehensive work on predictive models for blood pressure classification. The paper, tools, and computational details are neatly organized for easy reproduction. Explore the potential applications in health apps, paving the way for personalized insights in daily health management.

License

Notifications You must be signed in to change notification settings

lygitdata/bpmodel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blood Pressure Classification / Prediction

img

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.

Table of Contents

Introduction

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.

Models

Multinomial Regression Model with Lasso Regularization

  • Trained with various lasso regularization strengths.
  • Optimal λ identified through cross-validation.
  • 43 selected predictors and their coefficients provided.

XGBoost Model

  • Utilizes Extreme Gradient Boosting with specific hyperparameters.
  • Outperforms the Multinomial Regression Model with Lasso Regularization.
  • Evaluation metrics include test accuracy and AUC.

XGBoost Model with Selected Predictors

  • 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.

Conclusions and Future Directions

  • 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.

Computational Details

  • R libraries used: caret, dplyr, ggplot2, glmnet, xgboost, and more.
  • Conducted in RStudio IDE version "Mountain Hydrangea" for Windows.

Reproducibility

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:

  1. Download the Necessary Files:
  • Navigate to the provided link in your browser.

  • Unzip the downloaded file to a directory of your choice.

  1. 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.

  1. Install Required Packages:
  • If not already installed, install the required R packages from the CRAN.
  1. 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.

License

https://creativecommons.org/licenses/by-nc-sa/4.0/.

About

This repository houses the comprehensive work on predictive models for blood pressure classification. The paper, tools, and computational details are neatly organized for easy reproduction. Explore the potential applications in health apps, paving the way for personalized insights in daily health management.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages