inspyred
Python library for bio-inspired computational intelligence
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 12 committers (16.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.3%) to scientific vocabulary
Keywords from Contributors
Repository
Python library for bio-inspired computational intelligence
Basic Info
Statistics
- Stars: 199
- Watchers: 23
- Forks: 59
- Open Issues: 5
- Releases: 1
Metadata Files
README.rst
======================================================================================================
``inspyred`` -- A framework for creating bio-inspired computational intelligence algorithms in Python.
======================================================================================================
.. image:: https://img.shields.io/pypi/v/inspyred.svg
:target: https://pypi.python.org/pypi/inspyred
:alt: PyPi
.. image:: https://github.com/aarongarrett/inspyred/actions/workflows/ci.yml/badge.svg
:target: https://github.com/aarongarrett/inspyred/actions/workflows/ci.yml
:alt: GitHub Actions
.. image:: https://readthedocs.org/projects/inspyred/badge/?version=latest
:target: https://inspyred.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://img.shields.io/github/issues-pr/aarongarrett/inspyred
:target: https://github.com/aarongarrett/inspyred/pulls
:alt: PRs
.. image:: https://img.shields.io/github/issues/aarongarrett/inspyred
:target: https://github.com/aarongarrett/inspyred/issues
:alt: Issues
inspyred is a free, open source framework for creating biologically-inspired
computational intelligence algorithms in Python, including evolutionary
computation, swarm intelligence, and immunocomputing. Additionally, inspyred
provides easy-to-use canonical versions of many bio-inspired algorithms for
users who do not need much customization.
Example
-------
The following example illustrates the basics of the inspyred package. In this
example, candidate solutions are 10-bit binary strings whose decimal values
should be maximized::
import random
import time
import inspyred
def generate_binary(random, args):
bits = args.get('num_bits', 8)
return [random.choice([0, 1]) for i in range(bits)]
@inspyred.ec.evaluators.evaluator
def evaluate_binary(candidate, args):
return int("".join([str(c) for c in candidate]), 2)
rand = random.Random()
rand.seed(int(time.time()))
ga = inspyred.ec.GA(rand)
ga.observer = inspyred.ec.observers.stats_observer
ga.terminator = inspyred.ec.terminators.evaluation_termination
final_pop = ga.evolve(evaluator=evaluate_binary,
generator=generate_binary,
max_evaluations=1000,
num_elites=1,
pop_size=100,
num_bits=10)
final_pop.sort(reverse=True)
for ind in final_pop:
print(str(ind))
Requirements
------------
* Requires Python 3+.
* Numpy and Matplotlib are required for several functions in ``ec.observers``.
* Matplotlib is required for several functions in ``ec.analysis``.
* Parallel Python (ppft) is required if ``ec.evaluators.parallel_evaluation_pp`` is used.
You can use the `all` extra to install inspyred with all the extra dependencies::
pip install inspyred[all]
License
-------
This package is distributed under the MIT License. This license can be found
online at http://www.opensource.org/licenses/MIT.
Resources
---------
* Homepage: http://aarongarrett.github.io/inspyred
* Email: garrett@inspiredintelligence.io
* Documentation: https://inspyred.readthedocs.io.
Citing
------
Garrett, A. (2012). inspyred (Version 1.0.1) [software]. Inspired Intelligence. Retrieved from https://github.com/aarongarrett/inspyred [accessed CURRENT DATE].
Features
--------
* TODO
Credits
---------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
Owner
- Name: Aaron Garrett
- Login: aarongarrett
- Kind: user
- Company: Inspired Intelligence, LLC
- Website: http://www.inspiredintelligence.io/
- Repositories: 2
- Profile: https://github.com/aarongarrett
GitHub Events
Total
- Issues event: 2
- Watch event: 8
- Delete event: 2
- Issue comment event: 5
- Push event: 7
- Pull request review event: 1
- Pull request event: 7
- Fork event: 1
- Create event: 3
Last Year
- Issues event: 2
- Watch event: 8
- Delete event: 2
- Issue comment event: 5
- Push event: 7
- Pull request review event: 1
- Pull request event: 7
- Fork event: 1
- Create event: 3
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Ankur Sinha (Ankur Sinha Gmail) | s****r@g****m | 38 |
| Aaron Garrett | a****t@g****m | 22 |
| Aaron Garrett | i****e@g****m | 18 |
| Julien Schueller | s****r@p****m | 2 |
| albertotonda | a****a@g****m | 1 |
| Eugenio Piasini | e****i@u****k | 1 |
| Matthaus Woolard | m****d@4****m | 1 |
| Richard C Gerkin | r****1@g****g | 1 |
| Richard Gowers | r****s@g****m | 1 |
| galaunay | g****y@t****m | 1 |
| Kira | m****1 | 1 |
| Aaron Garrett | a****t@j****u | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 17
- Total pull requests: 24
- Average time to close issues: almost 2 years
- Average time to close pull requests: 3 months
- Total issue authors: 14
- Total pull request authors: 11
- Average comments per issue: 3.0
- Average comments per pull request: 0.79
- Merged pull requests: 21
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: about 5 hours
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 1.5
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- sanjayankur31 (4)
- AlexPars (1)
- andreaschandra (1)
- saulshanabrook (1)
- gedeck (1)
- rat-h (1)
- metakermit (1)
- TsingQAQ (1)
- NikoZHAI (1)
- jbae11 (1)
- markcoletti (1)
- ThePseudo (1)
- albertotonda (1)
- JamesArruda (1)
Pull Request Authors
- sanjayankur31 (16)
- jschueller (2)
- richardjgowers (1)
- rat-h (1)
- abbgrade (1)
- epiasini (1)
- mybaby101 (1)
- hishnash (1)
- galaunay (1)
- albertotonda (1)
- rgerkin (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 15
-
Total downloads:
- pypi 2,888 last-month
- Total docker downloads: 16
-
Total dependent packages: 3
(may contain duplicates) -
Total dependent repositories: 67
(may contain duplicates) - Total versions: 27
- Total maintainers: 3
pypi.org: inspyred
A framework for creating bio-inspired computational intelligence algorithms in Python
- Homepage: https://github.com/aarongarrett/inspyred
- Documentation: https://inspyred.readthedocs.io/
- License: MIT
-
Latest release: 1.0.3
published almost 2 years ago
Rankings
Maintainers (2)
alpine-v3.18: py3-inspyred
A framework for creating bio-inspired computational intelligence algorithms in Python
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.1-r3
published over 3 years ago
Rankings
Maintainers (1)
alpine-v3.18: py3-inspyred-pyc
Precompiled Python bytecode for py3-inspyred
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.1-r3
published over 3 years ago
Rankings
Maintainers (1)
alpine-edge: py3-inspyred
A framework for creating bio-inspired computational intelligence algorithms in Python
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.3-r0
published almost 2 years ago
Rankings
Maintainers (1)
alpine-edge: py3-inspyred-pyc
Precompiled Python bytecode for py3-inspyred
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.3-r0
published almost 2 years ago
Rankings
Maintainers (1)
alpine-v3.17: py3-inspyred
A framework for creating bio-inspired computational intelligence algorithms in Python
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.1-r0
published about 4 years ago
Rankings
Maintainers (1)
conda-forge.org: inspyred
- Homepage: http://aarongarrett.github.io/inspyred/
- License: MIT
-
Latest release: 1.0.1
published almost 4 years ago
Rankings
alpine-v3.19: py3-inspyred
A framework for creating bio-inspired computational intelligence algorithms in Python
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.2-r0
published almost 3 years ago
Rankings
Maintainers (1)
alpine-v3.22: py3-inspyred-pyc
Precompiled Python bytecode for py3-inspyred
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.3-r0
published almost 2 years ago
Rankings
Maintainers (1)
alpine-v3.21: py3-inspyred
A framework for creating bio-inspired computational intelligence algorithms in Python
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.3-r0
published almost 2 years ago
Rankings
Maintainers (1)
alpine-v3.20: py3-inspyred
A framework for creating bio-inspired computational intelligence algorithms in Python
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.2-r1
published over 2 years ago
Rankings
Maintainers (1)
alpine-v3.20: py3-inspyred-pyc
Precompiled Python bytecode for py3-inspyred
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.2-r1
published over 2 years ago
Rankings
Maintainers (1)
alpine-v3.21: py3-inspyred-pyc
Precompiled Python bytecode for py3-inspyred
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.3-r0
published almost 2 years ago
Rankings
Maintainers (1)
alpine-v3.19: py3-inspyred-pyc
Precompiled Python bytecode for py3-inspyred
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.2-r0
published almost 3 years ago
Rankings
Maintainers (1)
alpine-v3.22: py3-inspyred
A framework for creating bio-inspired computational intelligence algorithms in Python
- Homepage: https://github.com/aarongarrett/inspyred
- License: MIT
-
Latest release: 1.0.3-r0
published almost 2 years ago
Rankings
Maintainers (1)
Dependencies
- PyYAML * development
- Sphinx ==1.4.8 development
- bumpversion * development
- coverage * development
- cryptography * development
- flake8 * development
- pip * development
- pytest * development
- tox * development
- watchdog * development
- wheel * development
- actions/checkout v3 composite
- actions/setup-python v4 composite