CRFE - Conformal Recursive Feature Selection
CRFE is a feature selection method based on recursive backward elimination, grounded in the Conformal Prediction framework [1]. The method minimizes feature non-conformity [2] through an iterative elimination policy and incorporates an automatic stopping criterion for recursive procedures.
Requirements
- Python 3.9+
- scikit-learn 1.2.2+
- numpy
Quickstart
Install from PyPI with:
pip install CRFE
or use it with pixi (installs CRFE from PyPI via the provided pixi.toml):
pixi install
pixi run check-crfe
Examples
For complete usage scripts, see:
Library/Examples/example_1.py(multiclass synthetic benchmark with noisy variables)Library/Examples/example_2.py(Iris dataset with synthetic noise and downstream evaluation)
Both examples use the public package interface:
from CRFE import CRFE, ParamParada
Folder layout
CRFE/
├── Library/
│ ├── CRFE/
│ │ ├── _crfe.py
│ │ ├── _crfe_utils.py
│ │ ├── documentation.txt
│ │ └── stopping.py
│ └── Examples/
│ ├── example_1.py
│ └── example_2.py
├── LICENSE
└── readme.md
References
[1] V. Balasubramanian, S.-S. Ho, and V. Vovk, Conformal Prediction for Reliable Machine Learning: Theory, Adaptations and Applications, 1st ed. San Francisco, CA, USA: Morgan Kaufmann Publishers Inc., 2014.
[2] T. Bellotti, Z. Luo, and A. Gammerman, “Strangeness Minimisation Feature Selection with Confidence Machines,” in Intelligent Data Engineering and Automated Learning IDEAL 2006, ser. Lecture Notes in Computer Science, E. Corchado, H. Yin, V. Botti, and C. Fyfe, Eds. Berlin, Heidelberg: Springer, pp. 978–985, 2006
Metadata
Release files for CRFE 0.1.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 | Actions |
|---|---|---|---|---|
| crfe-0.1.1.tar.gz | 15.8 kB | Without provenance | Details for crfe-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crfe-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for crfe-0.1.1-py3-none-any.whl |
Total release size: 32.4 kB
Release files / crfe-0.1.1.tar.gz
| Download URL | crfe-0.1.1.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2534d6e737dcd4ff4280dda4c2cf1771cad087d127943bf8bf6f4d223a0b0959
|
|
BLAKE2b-256 checksum How to use checksums |
70eaed5c4b79374a132e360c102e398af158d7feaa27e0dc89aa5cfa0d7aaaa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / crfe-0.1.1-py3-none-any.whl
| Download URL | crfe-0.1.1-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
247575aadd48b6e10540c6d436c299f1f061afb9084376d5ae3e2629ed9a5ed1
|
|
BLAKE2b-256 checksum How to use checksums |
dbeb80f8664ec1d93f11e59d866636d7ff327a0cb248c465d62be9ae9c572144
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for CRFE 0.1.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.