Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

evaluation-lumo

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evaluation-lumo

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

  • 0.1.9
  • PyPI
  • Socket score

Maintainers
1

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_mean_variation(date_index, associated_damage_index)
compute_mad(date_index, associated_damage_index)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc