Conformal Recursive Feature Elimination
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crfe-0.1.1.tar.gz.
File metadata
- Download URL: crfe-0.1.1.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2534d6e737dcd4ff4280dda4c2cf1771cad087d127943bf8bf6f4d223a0b0959
|
|
| MD5 |
e7f3762c68b470c30715811f70762139
|
|
| BLAKE2b-256 |
70eaed5c4b79374a132e360c102e398af158d7feaa27e0dc89aa5cfa0d7aaaa9
|
File details
Details for the file crfe-0.1.1-py3-none-any.whl.
File metadata
- Download URL: crfe-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
247575aadd48b6e10540c6d436c299f1f061afb9084376d5ae3e2629ed9a5ed1
|
|
| MD5 |
15471904a1315a19d15a43792ed3c2b4
|
|
| BLAKE2b-256 |
dbeb80f8664ec1d93f11e59d866636d7ff327a0cb248c465d62be9ae9c572144
|