auditeeg
Audits for EEG decoding benchmarks: how much of a reported score comes from the evaluation rather than from the decoder.
Each audit compares a leaky evaluation with its clean twin on the same participants and reports the inflation, how many participants show it, a one-sided paired Wilcoxon test, a rank-biserial effect size and Holm correction across a family of audits.
Status: early release. Version 0.0.1 contains the paired statistics (auditeeg.stats). The
protocol audits (segment leakage, supervised spatial filters, transductive alignment, test-set
selection of preprocessing, epochs and seeds), the toolchain checks and the reporting audits will be
released with the accompanying paper.
Install
pip install auditeeg
Example
import numpy as np
from auditeeg import audit_leakage_mechanism, audit_family
clean = np.array([0.62, 0.55, 0.71, 0.48, 0.66, 0.59, 0.73, 0.52, 0.68]) # one score per participant
leaky = clean + np.array([0.05, 0.09, 0.02, 0.11, 0.04, 0.07, 0.03, 0.08, 0.06])
audits = [audit_leakage_mechanism(leaky, clean, name="segment leakage")]
audit_family(audits) # adds Holm-adjusted p-values
print(audits[0]["inflation_margin"], audits[0]["subject_consistency"], audits[0]["p_holm"])
Links
- Project page: https://auditeeg.github.io/
License
BSD-3-Clause.
Metadata
Release files for auditeeg 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| auditeeg-0.0.1.tar.gz | 5.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| auditeeg-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / auditeeg-0.0.1.tar.gz
| Download URL | auditeeg-0.0.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d208db4ba9d6ee84405f5f9c4e9c9d9b321796c222b94f5e248bf1884ac21d4e
|
|
BLAKE2b-256 checksum How to use checksums |
a1cabae35d00fe87dee6fb048f79820e852fbed9726c57935d1113cac1534ce8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / auditeeg-0.0.1-py3-none-any.whl
| Download URL | auditeeg-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c0e4278fb2676ae97f1b76f72d2cb458042258a0995cfd7f87d436dffb355c8
|
|
BLAKE2b-256 checksum How to use checksums |
4942051cd9a42ab6fdd03aa8a96d84a2c4edefbdc4a377628f1648fc33a51593
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for auditeeg 0.0.1
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.