Skip to content

avanwyk/cipy

Repository files navigation

CIPy

Build Status license

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.

Installation

  • 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

Examples of algorithms are given in the examples/ directory:

python examples/gbest_pso.py

Tests

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

Issues

This project uses the Github issue tracker. Please report any issues there.

License

The project uses Apache License 2.0

About

Computational Intelligence algorithms in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages