Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.1%) to scientific vocabulary
Repository
Genetic Algorithm for Python3
Basic Info
- Host: GitHub
- Owner: fotobiolab-unb
- License: gpl-3.0
- Language: Python
- Default Branch: master
- Size: 184 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
gapy
Genetic algorithm for Python 3.
What is this?
This algorithm is simply a class which can be directly implemented in your project.
Required Packages
You will need the following packages to run this algorithm (also listed in src/gapy/requirements.txt)
numpy
pandas
scipy
Pandas is only used for aesthetic reasons on the write method for the printing and is entirely optional. To remove this feature, simply comment out the method and set logging to False.
Instalation
A testing version is available in PyPI:
pip3 install genapy
How to use
The file test.py presents an example on how to use this algorithm. It requires a fitness function, which must receive a numpy array containing the population on each line, each composed of real numbers, and output a numpy vector with the fitness of each individual as a real number.
Probabilities for crossover or mutation are numbers in the interval [0,1] and set by the parameters crossover and mutation respectively. They both default to 0.5.
The output range of each parameter used to make up the individual can be scaled separately by passing a numpy array containing the upper and lower bounds in the shape (k,2), where k is the number of parameters (chromosome_size), and also setting has_mask to True.
The number of bits for each parameter can also be set as an integer in resolution.
A printing delay for the write method is set by passing the desired value in seconds on time_print.
Owner
- Name: Fotobiolab
- Login: fotobiolab-unb
- Kind: organization
- Location: Brazil
- Repositories: 2
- Profile: https://github.com/fotobiolab-unb
Laboratório de Fotobiorreatores da Universidade de Brasília
Citation (CITATION.cff)
# YAML 1.2
---
authors:
-
affiliation: "Instituto de Física - Universidade de Brasília"
family-names:
given-names: "Ícaro Lorran Lopes Costa"
cff-version: "1.1.0"
keywords:
- "genetic algorithm"
- optimization
message: "If you use this software, please cite it using these metadata."
title: "GAPY - Genetic Algorithm for Python"
url: "https://github.com/icarosadero/gapy"
...
GitHub Events
Total
Last Year
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 28
- Total Committers: 1
- Avg Commits per committer: 28.0
- Development Distribution Score (DDS): 0.0
Top Committers
| Name | Commits | |
|---|---|---|
| Icaro Costa | i****o@g****m | 28 |
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- icarosadero (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 12 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 12
- Total maintainers: 1
pypi.org: genapy
Genetic Algorithm for Python
- Homepage: https://github.com/fotobiolab-unb/gapy
- Documentation: https://genapy.readthedocs.io/
- License: GPL-3
-
Latest release: 0.0.13
published almost 4 years ago
Rankings
Maintainers (1)
Dependencies
- numpy ==1.21.5
- pandas ==1.3.5
- scipy ==1.7.3