Skip to main content

Uniovi Simur WearablePerMed Pipeline.

Project description

Project generated with PyScaffold

Description

Uniovi Simur WearablePerMed Pipeline.

Schaffolding

Execute PyScaffold command to create the project:

$ putup --markdown uniovi-simur-wearablepermed-pipeline -p wearablepermed_pipeline \
     -d "Uniovi Simur WearablePerMed Pipeline." \
     -u https://github.com/SiMuR-UO/uniovi-simur-wearablepermed-pipeline.git 

Create a virtual environment inside for your project and active it:

$ python3 -m venv .venv
$ source .venv/bin/activate

Install and upgrade tox automation project manager:

$ pip install --upgrade tox

Install and upgrade project modules:

$ pip install -U pandas uniovi-simur-wearablepermed-utils

Code and Debugging

Install library modules:

$ pip install -r requirements.txt

Install module locally for debugg

$ pip install -e .

Update project requirements:

$ pip freeze > requirements.txt

If you want upgrade the pipeline library to the last uniovi-simur-wearablepermed-utils you must execute this command (two times):

$ pip install uniovi-simur-wearablepermed-utils --upgrade

Project management

Project commands for: test, clean, build, generate documentation or publish your library in pypi repository. Don't forget update the version library from setup.cfg project build file

$ tox
$ tox -e clean
$ tox -e build
$ tox -e docs
$ tox -e publish -- --repository pypi

Testing

Execute one pipeline from this command:

python3 main.py \
    --verbose \
    --execute-steps 2,3,4,5,6 \
    --dataset-folder /home/miguel/git/uniovi/simur/uniovi-simur-wearablepermed-utils/data/input \
    --participants-missing-file /home/miguel/temp/wearablepermed_pipeline/missing_end_datetimes.csv \
    --crop-columns 1:7 \
    --window-size 250 \
    --window-overlapping-percent 50 \
    --ml-models ESANN,RandomForest \
    --ml-sensors thigh,hip,wrist \
    --output-case-folder /home/miguel/git/uniovi/simur/uniovi-simur-wearablepermed-utils/data/output \
    --case-id case_sample

Note

This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file uniovi_simur_wearablepermed_pipeline-1.15.0.tar.gz.

File metadata

File hashes

Hashes for uniovi_simur_wearablepermed_pipeline-1.15.0.tar.gz
Algorithm Hash digest
SHA256 0d86544d7129af10e38dfde376683b6d7c2b3a9f1aa3f4be98032c106a63cc59
MD5 6d70d0d9c48146a6241f83fa317c144b
BLAKE2b-256 a6782e734f8622e733e87e1c6494fdfa9d95dea5799d9051da9e171dc9b30818

See more details on using hashes here.

File details

Details for the file uniovi_simur_wearablepermed_pipeline-1.15.0-py3-none-any.whl.

File metadata

File hashes

Hashes for uniovi_simur_wearablepermed_pipeline-1.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd881bac212e55447b6ac65cbf9570775162a1243ae6120b03cd3b1a05a1907e
MD5 34c7d2192d3a5612ef50654eb82f7223
BLAKE2b-256 a02703f5468c22820c9157b536a13c7a97764abedd482b4e7495d35760ffa62e

See more details on using hashes here.

Supported by

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