Under construction! Algorithm selection framework
Project description
ASF: Algorithm Selection Framework
ASF is a powerful library for algorithm selection and performance prediction. It allows users to easily create and use algorithm selectors with minimal code.
NOTE: ASF is still under construction (early alpha). Therefore, not only the API can change, but there might be some bugs in the implementations of the selectors. For the common methods (multi class classification, pairwise regression / classification as well as simple ranking) we checked the performance and the implementation and they can be safely used. We will release in the near future a benchmark of all methods on ASlib scenarios which will validate the performance.
Features
- Easy-to-use API for creating algorithm selectors
- Supports various selection models including pairwise classifiers, multi-class classifiers, and performance models
- Integration with popular machine learning libraries like scikit-learn
Quick Start
You can create an algorithm selector with just 2 lines of code. Here is an example using the PairwiseClassifier:
from asf.selectors import PairwiseClassifier
from sklearn.ensemble import RandomForestClassifier
# Create a PairwiseClassifier
selector = PairwiseClassifier(model_class=RandomForestClassifier, metadata=your_metadata)
# Fit the selector with feature and performance data
selector.fit(dummy_features, dummy_performance)
# Predict the best algorithm for new instances
predictions = selector.predict(new_features)
Future Features
In the future, ASF will include more features such as:
- Empirical performance prediction
- Feature selection
- Support for ASlib scenarios
- And more!
Installation
To install ASF, use pip:
pip install asf-lib
Documentation
For detailed documentation and examples, please refer to the official documentation.
Contributing
We welcome contributions! Please see our contributing guidelines for more details.
License
ASF is licensed under the MIT License. See the LICENSE file for more details.
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 asf_lib-0.0.1.17.tar.gz.
File metadata
- Download URL: asf_lib-0.0.1.17.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1eae2f352c05341724e87b72bfc82c701f8f058e01c9a049806fdc935686100
|
|
| MD5 |
177cc6b3fae11de402cd7631a5878dc1
|
|
| BLAKE2b-256 |
97a72db7c13a6161e29aea10254c6c00ebdb494ee44da2479362905b6027fc4b
|
Provenance
The following attestation bundles were made for asf_lib-0.0.1.17.tar.gz:
Publisher:
publish.yml on hadarshavit/asf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asf_lib-0.0.1.17.tar.gz -
Subject digest:
c1eae2f352c05341724e87b72bfc82c701f8f058e01c9a049806fdc935686100 - Sigstore transparency entry: 179059389
- Sigstore integration time:
-
Permalink:
hadarshavit/asf@e5a40d9099ecfef1900dd165e528ca88ee4d8db6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hadarshavit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5a40d9099ecfef1900dd165e528ca88ee4d8db6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file asf_lib-0.0.1.17-py3-none-any.whl.
File metadata
- Download URL: asf_lib-0.0.1.17-py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19af8818b3a70e7229ce6d34f223f33239386c49cb40890bdfb7f3c40ee2a411
|
|
| MD5 |
202817b91c06605f582de1ebac45160b
|
|
| BLAKE2b-256 |
e513158ab8f82e6ce4edc090f1091a485c17d86d1252e2320660256de2d796de
|
Provenance
The following attestation bundles were made for asf_lib-0.0.1.17-py3-none-any.whl:
Publisher:
publish.yml on hadarshavit/asf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asf_lib-0.0.1.17-py3-none-any.whl -
Subject digest:
19af8818b3a70e7229ce6d34f223f33239386c49cb40890bdfb7f3c40ee2a411 - Sigstore transparency entry: 179059392
- Sigstore integration time:
-
Permalink:
hadarshavit/asf@e5a40d9099ecfef1900dd165e528ca88ee4d8db6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hadarshavit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5a40d9099ecfef1900dd165e528ca88ee4d8db6 -
Trigger Event:
workflow_dispatch
-
Statement type: