Some Optimization Problems for Machine Learning
Project description
Optimization Techniques
Optimization Techniques is a Python package that includes eight powerful algorithms for optimization tasks, including Genetic Algorithm, Particle Swarm Optimization, Simulated Annealing, Ant Colony Optimization, Gray Wolf Optimization, and more. This package is designed to help users experiment with different optimization approaches for a wide variety of continuous and discrete problems.
Table of Contents
Installation
You can install the optimization_techniques
package directly from PyPI:
pip install optimization-techniques
Usage
Once installed, you can import the package and start using any of the algorithms. Here’s a general example of how to import and use a variable from this package:
from programs import genetic_algorithm
# Define your objective function
print(genetic_algorithm.continuous_optimization)
print(genetic_algorithm.binary_optimization)
#It will print the full code
Available Programs Variables
The following algorithms are available in the programs
package:
-
genetic_algorithm
- continuous_optimization
- binary_optimization
-
simulated_annealing
- simulated_annealing
-
ant_colony_algorithm
- ant_colony_algorithm
-
particle_swarn_optimization
- particle_swarn_optimization
-
gray_wolf_optimization
- gray_wolf_optimization
-
tabu_search
- tabu_search
-
shuffuled_frog_optimization
- shuffuled_frog_optimization
-
travel_salesman_problem
- shortest_edge_initialization
- nearest_neighbour_initialization
Contributing
We welcome contributions! If you’d like to contribute, please fork the repository, make your changes, and submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE
file for 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
File details
Details for the file optimization_techniques-1.5.tar.gz
.
File metadata
- Download URL: optimization_techniques-1.5.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fea7f02dd7b31de711de7022f7075142a0dfab23e4bdcdcb4fd8ebecde9d559 |
|
MD5 | 42faef01868458b529b1629b99d57f41 |
|
BLAKE2b-256 | d66172e02cb867a6d100537a05279eff320d308249ed7d3ae98c0b1d232e568a |
File details
Details for the file optimization_techniques-1.5-py3-none-any.whl
.
File metadata
- Download URL: optimization_techniques-1.5-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e308be900b509cca56c22b5c23c09f991ed4605996d45491a1b622e753ef1913 |
|
MD5 | 8291580db0b030816dbdfb6b53b21d06 |
|
BLAKE2b-256 | ed15cb18534adedb6b0efa223975c0c8786589a06c3cb47b9dc5209f705bc538 |