Skip to main content

Statistical Inference for Autoencoder-based Anomaly Detection after Representation Learning-based Domain Adaptation

PyPI version License: MIT

This package offers a Statistical Inference (SI) framework tailored for Autoencoder-based anomaly detection following representation learning-driven domain adaptation. It utilizes a divide-and-conquer approach, enhanced by GPU-accelerated parallel processing, to efficiently compute the p-values of identified anomalies. The proposed methods deliver dependable detection by keeping the false positive rate (FPR) under control, while also maximizing the true positive rate (TPR) and effectively lowering the false negative rate (FNR).

Requirements

This package has the following requirements:

numpy
mpmath
scipy
torch
numba

Installation

Prerequisites

This package requires a compatible NVIDIA GPU and the NVIDIA CUDA Toolkit to be installed on your system. Your GPU driver must also be up-to-date.

This package was built and tested with CUDA Toolkit 11.8. We recommend you install this version to ensure full compatibility. You can find the downloads on the NVIDIA Developer website.

Package Installation

This package can be installed using pip:

$ pip install stand_da

Usage

We provide several Jupyter notebooks demonstrating how to use the stand-da package in action.

  • Example for computing p-value for Autoencoder-based AD after Representation Learning-based DA
>> ex0_compute_p_value.ipynb
  • Check the uniformity of the pivot
>> ex2_validity_of_p_value.ipynb

Metadata

Release files for stand-da 0.1.2

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

Source distribution (sdist)

Source distribution for stand-da 0.1.2
File Size Uploaded Provenance Actions
stand_da-0.1.2.tar.gz 9.0 kB Without provenance Details for stand_da-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stand-da 0.1.2
File Interpreter ABI Platform Actions
stand_da-0.1.2-py3-none-any.whl Python 3 none any Details for stand_da-0.1.2-py3-none-any.whl

Total release size: 18.9 kB

Release files / stand_da-0.1.2.tar.gz

Download URL stand_da-0.1.2.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
84b6947a8bb1e16d7cba4b3641cca76e76d168a921b221ac10861a013c77e867
BLAKE2b-256 checksum
How to use checksums
893ef9cab983ecd1e774eaf94e177a9320e3b9eab1c039d8ee4d9c989aa9cc34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.5

Release files / stand_da-0.1.2-py3-none-any.whl

Download URL stand_da-0.1.2-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c315ddd7d2389337ff4f4df20e4b7f72d34df39d00ff8fdd05d34f846d9dc742
BLAKE2b-256 checksum
How to use checksums
6eb2ea92f623dfcde0aae9be6ed7011a02e3001155b485c41283b46f5883df5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.5

Security for stand-da 0.1.2

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