notJustinWu / PPGtoBloodPressure

Final Project for CS 229 - Machine Learning (Fall 2022)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BP-Prediction-From-PPG

Feature Selection to predicting BP from PPG using different models.

Requirement

Python3
Pandas
PyTorch
Numpy
matplotlib
Scikit Learn
SciPy
IPython
pydot


Run python3 nn_bp_regression.py to predict the SBP and DBP values using NN
Run python3 random_forest.py to predict the SBP and DBP values using Random Forest
Run python3 nn_bp_classify.py to classify the BP conditions using NN
Run python3 random_forest_classifier.py to classify the BP conditions using Random Forest


Classes:

Low BP - 0
Normal BP - 1
Elevated BP - 2
Hypertension stage I - 3
Hypertension stage II - 4


The scripts mentioned above will generate a bunch of csv and png files for results and visualization.
Once the result files are generated, run python3 get_selected_feature_names.py to print out the optimal features for different algorithm.

About

Final Project for CS 229 - Machine Learning (Fall 2022)


Languages

Language:Python 100.0%