Skip to content

zayd/LCAversions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LCAversions

Locally Competitive Algorithm written in Python using various packages.

Current implementations include:

  • LCApython: Pure python+numpy. Requires numpy.
  • LCAcythonv (float64 only): Cython with minibatch vectorization. Requires numpy, cython.
  • LCAfortan (float64 only): Fortran 90 with python wrapper. Requires f2py.
  • LCAnumbaprog(float32 only): NumbaPro GPU implementation. Requires numbapro.

Cython based version can be compiled using the command:

python setup.py build_ext --inplace

in the LCAcythonv folder.

The Fortran based version can be compiled using the command:

f2py -c -m lca lca.f90

in the LCAfortran folder.

To run tests, do:

nosetests

from the base directory.

About

Locally Competitive Algorithm written in Python using various packages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.6%
  • Fortran 11.4%