Catalog PyPI
PACKAGE EXPLORERView in registry

agios

PyPI

Simple genetic algorithms framework for Python

aialgorithmsgenetic
Versions collected1
Direct dependencies2From release 2017.7.1
Last observed21 Oct, 09:09 UTC

README

Version 2017.7.1 documentation
## What is agios?

agios is an open source, Python 3 library for playing with genetic algorithms. Main functionality includes:   

* Generic API allowing to easily implement custom tasks

* Highly customizable algorithm execution cycle

* Multithreading support

* Built-in support for images processing

* Multidimensional data processing



TODO list includes:

* Support for PyCUDA and processing on GPU



## How to install it?

```

pip install agios

```



## Where is an example code?

```python

from agios import evolution

from agios import extras



blueprint = extras.load_normalized_image('input/mona_lisa.jpg', extras.Greyscale)



evolution_problem_solver = evolution.SimpleSolver(

    population_size=100,

    best_samples_to_take=2,

    blueprint=evolution.NumpyArraySample(blueprint),

    mutator=evolution.SimplePaintbrushMatrixMutator((10, 15), (10, 50)),

    crosser=evolution.MeanValueMatrixCrosser(),

    loss_calculator=evolution.SquaredMeanMatrixLossCalculator(),

    initial_sample_state_generator=evolution.RandomMatrixGenerator(blueprint.shape)

)



for _ in range(10000):

    evolution_problem_solver.step()

```



Live examples can be found in examples/ directory.



## How to contribute?

Report observed issues or provide working pull request. Pull request must be verified before merging and it must include the following:

* Unit tests

* Public API marked with static typing annotations (typing module)

* Public classes must include brief documentation


Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2017.7.116 Jul 20172

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
mkorman9/agios

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:09 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:76a1f1b8d68ffdb633f7cb4685ad93691b3db5e05fa2bbe8eb9d32446b650a17