Skip to content

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

Notifications You must be signed in to change notification settings

notJustinWu/PPGtoBloodPressure

Repository files navigation

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)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages