Project description
IterSHAP: Iterative feature selection using SHAP values
Author: Frank van Mourik, University of Twente
Installation
Install via pip using: pip install itershap
(requires Python version >=3.10,<3.11).
Usage
from itershap import IterSHAP
X , y = get_data () # Replace with data location
fs = IterSHAP () # Create a IterSHAP feature selection object
fs . fit ( X , y ) # Execute IterSHAP on input data
X_transformed = fs . transform ( X ) # Only keep the via IterSHAP selected features
Benefits
Performs well on small high-dimensional datasets
Guarantees to return a feature subset
Model-agnostic (limited by shap supported models)
Validated on synthesised data
Benchmarked on DEAP dataset
License
Available under the MIT license, which can be found here
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
File details
Details for the file itershap-0.1.1.tar.gz
.
File metadata
Download URL:
itershap-0.1.1.tar.gz
Upload date: Aug 16, 2023
Size: 4.8 kB
Tags: Source
Uploaded using Trusted Publishing? No
Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
Hashes for itershap-0.1.1.tar.gz
Algorithm
Hash digest
SHA256
5c64cd985ac69b7d3a61502c199aec1ab821c1b74a72272cb2708b4ad0ba8b4a
Copy
MD5
52dbf62b1dfbf7a1c6f1bbb56c228cb7
Copy
BLAKE2b-256
77f7252e1b7e1a3a37d6207a78d934b7f74e322e5802abbf4654ac896e05b8a8
Copy
See more details on using hashes here.
File details
Details for the file itershap-0.1.1-py3-none-any.whl
.
File metadata
Download URL:
itershap-0.1.1-py3-none-any.whl
Upload date: Aug 16, 2023
Size: 5.5 kB
Tags: Python 3
Uploaded using Trusted Publishing? No
Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
Hashes for itershap-0.1.1-py3-none-any.whl
Algorithm
Hash digest
SHA256
465d147f698c2473bbc4f3adcce9e910b6ad616356fe82a63e924b67bef01de6
Copy
MD5
1c362adf5778f288ec233a8ee5b95319
Copy
BLAKE2b-256
870b752d33bd42aa19539ed1603ea6ac91df51525691e0a391a908e63ca3cc4e
Copy
See more details on using hashes here.