Selector: Ensemble-based Automated Algorithm Configuration
An algorithm configurator in Python using multiple configuration generators and models derived from state-of-the-art methods. You can find documentation at (https://selector-ac.readthedocs.io/en/latest/).
Currently integrated state-of-the-art AC method functionalities from
- CPPL
- GGA
- SMAC
Installation
You can use selector from the files the github repository or install it via
pip install swig
pip install selector-ac
Usage
You can use Selectors facade in Python like this:
from selector.run_ac import ac
if __name__ == "__main__":
scen_files = {'paramfile': 'your_path_to/params.pcs',
'instance_file': 'your_path_to/problem_instances.txt',
'feature_file': 'your_path_to/instance_features.txt'}
ac(scen_files, 'desktop', # use 'cluster' for slurm
run_obj='runtime', overall_obj='PAR10', cutoff_time=300,
seed=44, par=10, winners_per_tournament=1, tournament_size=2,
number_tournaments=2, termination_criterion='total_runtime',
monitor='tournament_level', initial_instance_set_size=5, set_size=256,
generator_multiple=1, memory_limit=2048, check_path=False,
log_folder='your_log_folder_path', wallclock_limit=3600,
wrapper_mod_name='your_path_to.your_wrapper', deterministic=0,
wrapper_class_name='Your_Wrapper')
You can also call a Python script as exemplified in selector/main.py, or call selector/main.py and pass paths and arguments via command line.
Selector will run the AC process until the 'wallclock_limit' or 'total_tournament_number' is reached and save the results in 'log_folder'.
Metadata
Release files for selector-ac 0.1.0.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 |
|---|---|---|---|---|
| selector_ac-0.1.0.8.tar.gz | 75.7 kB | Without provenance | Details for selector_ac-0.1.0.8.tar.gz |
Release files / selector_ac-0.1.0.8.tar.gz
| Download URL | selector_ac-0.1.0.8.tar.gz |
|---|---|
| Size | 75.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0de2a55db46e30e5897e6e6d6ce0893217e54d6a57af1c14f18fd75a11e58097
|
|
BLAKE2b-256 checksum How to use checksums |
37c595698c934e5e3bd8d34463c37de14f0d29a397a2ee9a0d30246971d99f87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.8.5
|
Security for selector-ac 0.1.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.