The repository or configuration that created this release differ from a previous release. View details.
PRIME: A New Measure for Variable Importance
PRIME estimates proportional global variable importance from noisy data with dependent predictors. It combines local-linear residual-variance estimation, response-relevant variable selection, and proportional allocation on the selected coordinates.
Installation
python -m pip install prime-importance
To use prime.plot(fit), install plotting support:
python -m pip install "prime-importance[plot]"
Quick example
import numpy as np
import prime
rng = np.random.default_rng(5)
X = rng.uniform(-1, 1, size=(300, 8))
y = X[:, 0] - X[:, 1] + X[:, 4] ** 2 + rng.normal(0, 0.08, size=300)
fit = prime.fit(X, y)
print(fit.selected_names)
print(fit.effects)
Use prime.screen(X, y) for selection diagnostics and prime.plot(fit) for
an importance plot.
Citation
Cho, Y., and Joseph, V. R. (2026). Measuring Variable Importance Using Proportional Inclusive Marginal Effects. arXiv:2610.17053. DOI: 10.48550/arXiv.2610.17053.
License: MIT. Authors: Youngseo Cho and V. Roshan Joseph.
Metadata
Release files for prime-importance 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prime_importance-0.2.2.tar.gz | 414.6 kB | With provenance | Details for prime_importance-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prime_importance-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for prime_importance-0.2.2-py3-none-any.whl |
Total release size: 431.6 kB
Release files / prime_importance-0.2.2.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | prime_importance-0.2.2.tar.gz |
|---|---|
| Size | 414.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06b8aea35d1cbdc3489507cd4c91fd3bdc8b7ed69da4200f7d7fa85e8f7b5a7c
|
|
BLAKE2b-256 checksum How to use checksums |
6b8d08ceaa68a3bd9caff480e9041af41b21884eb4943a6ea3f2f91da157b74e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logRelease files / prime_importance-0.2.2-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | prime_importance-0.2.2-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8438ea2698a6c19ec7e39dbe2b282401e3f900922962005a4e91e607eb955a82
|
|
BLAKE2b-256 checksum How to use checksums |
d7a33cc9c46398a781b8ab787e59c4062720a49135136fbf109b65ac83c6c862
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logSecurity for prime-importance 0.2.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.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
Attestation for prime_importance-0.2.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logA 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.