Skip to main content

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

  1. Open your terminal/shell and navigate to the directory where you want to install this software
  2. Clone the repo
    git clone https://github.com/Ben-Jamin-Griff/ProsNet.git
    
  3. Move into repo
    cd ProsNet
    
  4. 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

  1. Open your terminal/shell and navigate to the directory where you want to install this software
  2. Clone the repo
    git clone https://github.com/Ben-Jamin-Griff/ProsNet.git
    
  3. Move into repo
    cd ProsNet
    
  4. 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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. 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

ProsNet-0.0.5.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

ProsNet-0.0.5-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

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

Hashes for ProsNet-0.0.5.tar.gz
Algorithm Hash digest
SHA256 20461eb44cbd14784b2a0b4e42ed6e3cc6e8c3540edde5a58bf5512ee6cd6c42
MD5 e9e21a8ebb4a343fd4e4c42f2f3c3d75
BLAKE2b-256 9e9274ab3573279b915ef468ca8d46f69ccd2b97c0868b11607c7de5fea9b96c

See more details on using hashes here.

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

Hashes for ProsNet-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6841a8a297c0994c9297ad2333a59c7b2b448ac60c45d28ff60fe443a2f16b6d
MD5 db64cf627a50687abce04602fed60d3c
BLAKE2b-256 2da975e3eea7f5bc78108b530157ca42668d45425e6d2e7ced3a8cea2b287a1b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page