Adaptive, Hybrid Feature Selection
Python implementation of the Adaptive, Hybrid Feature Selection algorithm (AHFS), originally developed by Viharos et al. For scientific or related inquiries, please contact Dr. Zsolt János Viharos and Anh Tuan Hoang.
Getting started
Requirements
- Windows or Linux-based platform
- Python version 3.11 or better
- Optional: CUDA 11.8 or better
Installation
Install from PyPI via pip install ahfs. It is recommended that you create a separate environment.
Usage
You may run one of the preset configurations or run an instance with your own dataset and settings.
Presets
To run a preset configuration, first download the datasets folder from this repository into your working directory.
Secondly, import the desired configuration from utils.presets or use the example code found in utils.example.
Run the configuration by invoking the run() method on the class instance.
Consult the API documentation for further details.
Running your own instance
Consult the API documentation for further details.
FAQ
- I get the warning message CUDA is not available! Using CPU..
- Re-install the torch package by following these instructions.
Metadata
Release files for ahfs 2025.8
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 |
|---|---|---|---|---|
| ahfs-2025.8.tar.gz | 44.4 kB | With provenance | Details for ahfs-2025.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ahfs-2025.8-py3-none-any.whl | Python 3 | none | any | Details for ahfs-2025.8-py3-none-any.whl |
Total release size: 106.5 kB
Release files / ahfs-2025.8.tar.gz
| Download URL | ahfs-2025.8.tar.gz |
|---|---|
| Size | 44.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e1931672b778329757cdb01d85f483e3a72ce13f8f8316a734cc3c7fb9a385e
|
|
BLAKE2b-256 checksum How to use checksums |
5828c4c647add5bf7eebd3ab1431184ce801a7f39b655826dea4ea9538844b9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Jul 30, 2025.
Transparency logRelease files / ahfs-2025.8-py3-none-any.whl
| Download URL | ahfs-2025.8-py3-none-any.whl |
|---|---|
| Size | 62.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46211e73365717c2bcce2e0e155324dd347c597cec9ef3cbd0f2bb7a35bf9abe
|
|
BLAKE2b-256 checksum How to use checksums |
8faff5fdb0f618df80ebfaaeee43bd5b64ecdc617544acef480cf3ebec23bbd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Jul 30, 2025.
Transparency logSecurity for ahfs 2025.8
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ahfs-2025.8.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 Jul 30, 2025.
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.