A custom genetic algorithm package with Pygame visualization.
Project description
Genetic Algorithms
A custom Python package implementing a Genetic Algorithm (GA) with support for Pygame visualization. This package allows you to run genetic algorithms for optimization problems and visualize the evolution of the population over generations.
Features
- Genetic Algorithm Implementation: Easily customizable with different mutation rates, crossover rates, and fitness functions.
- Pygame Visualization: Visualize the evolution of the population over time using a graphical interface.
- Elitism: Support for elitism to carry the best individuals to the next generation.
- Early Stopping: Stop the algorithm early if the population's fitness stagnates for a certain number of generations.
Installation
Option 1: Install Locally
You can install the package locally by cloning the repository and running:
pip install .
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 genetic_algorithms_personal-0.2.0.tar.gz
.
File metadata
- Download URL: genetic_algorithms_personal-0.2.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51f72c642b670bf18bf7104a75e973bcf9c3c5b00bb4caa17cd44e8004ae6a0d |
|
MD5 | 957ffb76f62c79f47727321203a8daa4 |
|
BLAKE2b-256 | 0e9a3a46ed3ade98d7598a0dcddf6f2a5175bc1fbf8758bb6378f49ff047ca6c |
File details
Details for the file genetic_algorithms_personal-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: genetic_algorithms_personal-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbfa7f1288c0928ec60f4d372c26d3338c11a6cf155f60833f543f987ee9ada5 |
|
MD5 | d276edb10882d80d3b27b838c89ade1a |
|
BLAKE2b-256 | f85db85da678ed31c034cb60553c88dbb4ea78d1c40cfba33b6136436155b6df |