Skip to main content

Under construction! Algorithm selection framework

Project description

Python application

Algorithm Selection Framework (ASF)

ASF is a powerful library for algorithm selection and performance prediction. It allows users to easily create and use algorithm selectors with minimal code.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asf_lib-0.0.1.14.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asf_lib-0.0.1.14-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file asf_lib-0.0.1.14.tar.gz.

File metadata

  • Download URL: asf_lib-0.0.1.14.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for asf_lib-0.0.1.14.tar.gz
Algorithm Hash digest
SHA256 0b0c8ff763c095b979aeb29d6cd839716601319da9010f3a74dee7a7f471c06c
MD5 cd92b5cd6cbe3058dc2e69c3faa97dc3
BLAKE2b-256 f0a5db3dd56248b26d90638e93fdd9b1d0fa2b3abe0c71565c3ac23335d3fd20

See more details on using hashes here.

Provenance

The following attestation bundles were made for asf_lib-0.0.1.14.tar.gz:

Publisher: publish.yml on hadarshavit/asf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file asf_lib-0.0.1.14-py3-none-any.whl.

File metadata

  • Download URL: asf_lib-0.0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for asf_lib-0.0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 a962f8ff1e7de4d0ad9850e8b67f828cc870b49748f4bd0dfc89d2d2d7c13c4c
MD5 982243e7dae9258f91beb4310e5ab494
BLAKE2b-256 66fd7e4b9d8b9c7bb6af093ffaa62c8f1078cf80ef106274f3dcdf747cda8a4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for asf_lib-0.0.1.14-py3-none-any.whl:

Publisher: publish.yml on hadarshavit/asf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page