Skip to main content

evaluation_lumo is a package for evaluating the LUMO damage detection system.

Project description

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.

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

evaluation_lumo-0.1.10.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

evaluation_lumo-0.1.10-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file evaluation_lumo-0.1.10.tar.gz.

File metadata

  • Download URL: evaluation_lumo-0.1.10.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for evaluation_lumo-0.1.10.tar.gz
Algorithm Hash digest
SHA256 42dd93ffd47d1166121fa311aa1a00923da28b26f385ee4e781421287033d859
MD5 6e1126a4524afada8d11358252874812
BLAKE2b-256 1da5ca8463c28efcb8c6e508a4a42b656d76a855944c63dd4ed16a293631b283

See more details on using hashes here.

File details

Details for the file evaluation_lumo-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for evaluation_lumo-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 a2533b46187f6cd30de261604cce355aa021684277f0f5bd3659f3fb666d6261
MD5 f1983e75a1af5fae62d9a41096f16c95
BLAKE2b-256 3588bad0ce869aa3195c0786279f1bf5fd32523e575b358baba23b9af31aaff5

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