Project created with MLOps-Template cookiecutter. For more info: https://mlopsstudygroup.github.io/mlops-guide/
Project created for the algorithms design to perform biological measures from the IMP Scandinavia PPG version two device. Currently (July-24-2023), the project is able to: 1. Perform signal pre-processing on the input signal 2. Compute respiration rate 3. Compute the heart rate 4. compute the SpO2
The project works with object orienting programing.
- Python3 and pip
- re-commit, pytest, pandas, sklearn, matplotlib, numpy, pandas, seaborn, scipy, pywt
There is a yaml file that you can use to create the project.
Each biological measure class contains a script under a 'if main' where the class can be tested independently.
To run the prototype we must utilize the main_proto.py file.
All paths and parameters are managed under the configuration folder with python files that contains dictionaries.
In order to activate pre-commit testing you need pre-commit
Installing pre-commit with pip
pip install pre-commit
Installing pre-commit on your local repository. Keep in mind this creates a Github Hook.
pre-commit install
Now everytime you make a commit, it will run some tests defined on .pre-commit-config.yaml before allowing your commit.
Example
$ git commit -m "Example commit"
black....................................................................Passed
pytest-check.............................................................Passed
