A package for processing activPAL activity monitor data.
Project description
ProsNet
A software package for developing classification models that predict physical behaviour postures.
Explore the docs »
🤔 About The Project
This respository contains the sotware package and models described in the publication:
A Machine Learning Classification Model for Monitoring the Daily Physical Behaviour of Lower-Limb Amputees" (currently under review).
The code works with data export from the activPAL activtiy monitor palt.com
Here are the main uses for this software:
- Estimate physical behaviour postures from shank accelerometer data
- Process shank accelerometer data along with thigh accelerometer event data to create a labeled dataset for training:
- Machine learning classifiers from heuristic features
- Deep learning classifiers from windowed acceleration data
- Re-create the model development process used in Griffiths et al. (2021)
- Experiment with new model development
- Estimate non-wear periods from accelerometer data
See the example scripts for each of these use cases.
Built With
🚀 Getting Started
Test out the package and start processing data.
💻 Prerequisites
You need these pre-installed on your device to get started.
- Python & pip: A useful resource for installing python - instructions
Installation
- Open your terminal/shell and navigate to the directory where you want to install this software
- Clone the repo
git clone https://github.com/Ben-Jamin-Griff/ProsNet.git
- Move into repo
cd ProsNet
- Install Python packages
pip install ProsNet
Usage
Make sure you completed the installation steps and then run the following command:
- Unix/maxOS
python3 examples/shallow_examples/example_1.py
- Windows
py examples\shallow_examples\example_1.py
🗺️ Exploring The Package
To get a local copy up and running follow these simple steps.
Installation
- Open your terminal/shell and navigate to the directory where you want to install this software
- Clone the repo
git clone https://github.com/Ben-Jamin-Griff/ProsNet.git
- Move into repo
cd ProsNet
- Install Python packages
pip install -r requirements.txt
🤝 Contributing
Contributions are what make the open source community such an amazing place. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.
Author
👤 Benjamin Griffiths
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ProsNet-0.0.5.tar.gz
.
File metadata
- Download URL: ProsNet-0.0.5.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20461eb44cbd14784b2a0b4e42ed6e3cc6e8c3540edde5a58bf5512ee6cd6c42 |
|
MD5 | e9e21a8ebb4a343fd4e4c42f2f3c3d75 |
|
BLAKE2b-256 | 9e9274ab3573279b915ef468ca8d46f69ccd2b97c0868b11607c7de5fea9b96c |
File details
Details for the file ProsNet-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: ProsNet-0.0.5-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6841a8a297c0994c9297ad2333a59c7b2b448ac60c45d28ff60fe443a2f16b6d |
|
MD5 | db64cf627a50687abce04602fed60d3c |
|
BLAKE2b-256 | 2da975e3eea7f5bc78108b530157ca42668d45425e6d2e7ced3a8cea2b287a1b |