Skip to main content

Reliability Component Analysis

Reason this release was yanked:

Accidental release

Project description

Reliability Component Analysis

tests

Implementation of Reliability Component Analysis (RCA) from the paper

(citation pending).

scikit_rca is a scikit-learn compatible extension. The implementation is based on the scikit-learn-contrib template.

Installation

The package is available on PyPI and can be installed with:

pip install scikit-rca

Usage

Example usage is demonstrated in examples/run_rca.py. To use this example, clone the git repo and start by running

python examples/run_rca.py --help

The run_rca.py script expects to finds the data stored in the directory indicated by the --data-dir flag in the form of two files: features.npy and labels.npy, which are expected to be numpy arrays of shape [num_samples, d] and [num_samples, 2]. The labels array should be structured so that the first dimension indexes samples by group, and the second dimension provides an index of each sample within each group. An example invocation of the script is as follows:

python examples/run_rca.py \
    --data-dir /path/to/my/data \
    --lr 0.005 \
    --epochs 200 \
    --dim 5 \
    --penalty-scale 0.1 \
    --batch-size 4000 \
    --weight-decay 0.001 \
    --out-dir /path/to/store/model

Authors

Anastasia Borovykh, Max Weissenbacher, Stephanie Noble, Maxwell Shinn.

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

scikit_rca-0.1.0.post1.dev0.tar.gz (95.2 kB view details)

Uploaded Source

Built Distribution

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

scikit_rca-0.1.0.post1.dev0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file scikit_rca-0.1.0.post1.dev0.tar.gz.

File metadata

  • Download URL: scikit_rca-0.1.0.post1.dev0.tar.gz
  • Upload date:
  • Size: 95.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for scikit_rca-0.1.0.post1.dev0.tar.gz
Algorithm Hash digest
SHA256 f780d981614554f2b222c4e8b7516aae35aeacad09493007c8be3309e7895495
MD5 53f998defee9be9abd172e74cb80194c
BLAKE2b-256 4199bb9b0742c6a6a4028d764e0396462843a0f523b907ea08920882099c5f83

See more details on using hashes here.

File details

Details for the file scikit_rca-0.1.0.post1.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for scikit_rca-0.1.0.post1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 2642177854794b6a6284745c250ff9910dbddbdec3633dcbe74116b1fe77c3a2
MD5 0492b91adb7cbb1404206e80628b0346
BLAKE2b-256 1733b34c63b21c6667c4110e94c3164c5fe79402d9c162e97982e4f0f1859f4b

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