Skip to main content

LUMO Damage Detection Evaluation Package

This package provides a standardized framework for evaluating damage detection and localization strategies using the LUMO dataset. Users can input timestamps alongside their corresponding anomaly indices, and the package computes various performance scores for each damage case, promoting consistency in damage detection evaluation.

Features

  • Standardized Evaluation Metrics: Calculates TPR and FPR at a threshold set such as FPR for training data is 1%. The training dataset should be only the first month of data.
  • Damage Case Analysis: Provides detailed performance evaluations for each specific damage scenario within the LUMO dataset.

Installation

To install the package, run:

pip install evaluation_lumo

Usage

To use the package, import the evaluation_lumo.evaluation module and call the compute_tr_by_events function, compute_mean_variation function, or compute_mad function.

from evaluation_lumo.evaluation import compute_tr_by_events, compute_mean_variation, compute_mad

# Example usage

date_index = pd.date_range(start='2021-08-01', ends="2022-08-01", freq='10T')
associated_damage_index = np.random.random(len(date_index))
compute_tr_by_events(date_index, associated_damage_index)
compute_median_variation(date_index, associated_damage_index)
compute_mad(date_index, associated_damage_index)

Contributing

pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. pre-commit is used to ensure code quality. Please install it before making any changes. run the following command to install pre-commit:

pre-commit run --all-files

then push your changes.

Metadata

Release files for evaluation-lumo 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evaluation-lumo 0.1.10
File Size Uploaded Provenance
evaluation_lumo-0.1.10.tar.gz 8.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for evaluation-lumo 0.1.10
File Interpreter ABI Platform
evaluation_lumo-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 16.3 kB

Release files / evaluation_lumo-0.1.10.tar.gz

Download URL evaluation_lumo-0.1.10.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
42dd93ffd47d1166121fa311aa1a00923da28b26f385ee4e781421287033d859
BLAKE2b-256 checksum
How to use checksums
1da5ca8463c28efcb8c6e508a4a42b656d76a855944c63dd4ed16a293631b283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Release files / evaluation_lumo-0.1.10-py3-none-any.whl

Download URL evaluation_lumo-0.1.10-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2533b46187f6cd30de261604cce355aa021684277f0f5bd3659f3fb666d6261
BLAKE2b-256 checksum
How to use checksums
3588bad0ce869aa3195c0786279f1bf5fd32523e575b358baba23b9af31aaff5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.20

Security for evaluation-lumo 0.1.10

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page