Computational Intelligence algorithms in Python using NumPy.
Notice: This library is in a pre-alpha stage and all code is subject to major changes or removal. Additionally, although correctness of the code is a priority, exhaustive testing of the code is an ongoing endeavor.
-
Source (Anaconda environment): recommended for development.
git clone https://github.com/avanwyk/cipy cd cipy conda env create -f environment.yml source activate cipy-env pip install -e .
-
Source (development)
git clone https://github.com/avanwyk/cipy cd cipy pip install -e .
-
Source (setup.py)
git clone https://github.com/avanwyk/cipy cd cipy python setup.py install
Examples of algorithms are given in the examples/ directory:
python examples/gbest_pso.py
Unit tests may be run with pytest:
python -m pytest
or setup.py:
python setup.py test
Examples and project benchmarks may be run with pytest as follows:
python -m pytest --runexamples
and
python -m pytest --runbenchmarks
This project uses the Github issue tracker. Please report any issues there.
The project uses Apache License 2.0