A package containing a set of bitstring optimizers.
Project description
tunepy2
Provides a variety of extensible and easy to use bitstring optimizers as well as several machine learning convenience utilities for model optimization.
Dependencies
- python >= 3.7
- numpy >= 1.19.2
- scikit-learn >= 0.23.2
Installation
pip install tunepy2
Basic Usage
All bitstring optimizers extend the Abstract Base Class (ABC) AbstractOptimizer. The most basic versions of all optimizers are accessed through static build methods.
Importing tunepy2
import tunepy2 as tp
Basic Prebuilt Optimizers
- Random Restart Hill Climber (
tp.new_random_restart_hill_climber) - Simulated Annealer (
tp.new_simulated_annealer) - Basic Hill Climber (
tp.new_hill_climber) - Genetic Algorithm (
tp.new_genetic_optimizer)
Fitness functions are assumed have an array-like passed in as the first argument and return a fitness value.
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
tunepy2-0.0.3.tar.gz
(20.0 kB
view details)
File details
Details for the file tunepy2-0.0.3.tar.gz.
File metadata
- Download URL: tunepy2-0.0.3.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ee0cf85da1a17b19b662f13c5a4157ba8c4538d446fa326350348b06a81ff34
|
|
| MD5 |
5e94cc19311579d77151d4bcd9be5682
|
|
| BLAKE2b-256 |
de2e4b407711a868622b1899ad8392b97c5e1f059ad56bf0e2bdd6c46408329f
|