BenchmarkHAR
BenchmarkHAR is a reusable Human Activity Recognition benchmarking framework for classical machine learning, deep learning, and external model adapters.
Installation
Install the core package:
pip install benchmarkhar
Install deep learning support:
pip install "benchmarkhar[deep-learning]"
Install BioPM support:
pip install "benchmarkhar[biopm]"
Install TinyHAR support:
pip install "benchmarkhar[tinyhar]"
Install everything:
pip install "benchmarkhar[all]"
Users do not need to clone external repositories, set PYTHONPATH, or copy source files manually. The package exposes the required public modules directly after installation.
Model registry
from benchmarkhar.models import MODEL_REGISTRY
print(sorted(MODEL_REGISTRY))
This includes the supported BenchmarkHAR models such as random_forest, logistic_regression, cnn, lstm, dnn, rnn, deepconv_lstm, astar_har, tinyhar, and biopm.
Custom models and datasets
You can create your own model locally without modifying the BenchmarkHAR source tree by implementing a class that follows the same BaseHARModel interface and registering it with your own application code. Similarly, dataset/configuration files can live in your local working directory or a project-specific config folder; BenchmarkHAR does not require repository-local paths after installation.
Development
To build a wheel locally:
python -m build
Then test the wheel in a clean virtual environment:
python3 -m venv /tmp/test-benchmarkhar-wheel
source /tmp/test-benchmarkhar-wheel/bin/activate
pip install dist/benchmarkhar-*.whl
python -c "from benchmarkhar.models import MODEL_REGISTRY; print(sorted(MODEL_REGISTRY))"
Metadata
Release files for benchmarkhar 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| benchmarkhar-0.1.1.tar.gz | 68.1 kB | Without provenance | Details for benchmarkhar-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| benchmarkhar-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for benchmarkhar-0.1.1-py3-none-any.whl |
Total release size: 153.6 kB
Release files / benchmarkhar-0.1.1.tar.gz
| Download URL | benchmarkhar-0.1.1.tar.gz |
|---|---|
| Size | 68.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da95d8f77582e6d11a6f4f3ced10162bd6273c8e9f269deb4df900a9d1b09b57
|
|
BLAKE2b-256 checksum How to use checksums |
e66e39aae043e9e6c081c0d39e90b932e7979b8bdbd5ecdd1aca52dcd65282f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / benchmarkhar-0.1.1-py3-none-any.whl
| Download URL | benchmarkhar-0.1.1-py3-none-any.whl |
|---|---|
| Size | 85.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65b52be90baf50f20cb5eba0500c292a904c11bf6abeec7a16beeb83fdca7fab
|
|
BLAKE2b-256 checksum How to use checksums |
600d5a3c66b54434c079b935252448cec448bc00bf1e600185aba6309ea8bd5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Security for benchmarkhar 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.