Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NeuronUnit Optimization Light build. #27

Open
russelljjarvis opened this issue Jan 31, 2019 · 1 comment
Open

NeuronUnit Optimization Light build. #27

russelljjarvis opened this issue Jan 31, 2019 · 1 comment

Comments

@russelljjarvis
Copy link

russelljjarvis commented Jan 31, 2019

@rgerkin

The two backends RAWpy, hhrawf.py only depend on numba jit deap and dask. And all of these packages seem to play nice with pip, and don't necessarily need apt-get level intervention.

The optimizer didn't really depend on BluePyOpt (I have commented out this module), as it only uses two files from BPO (bluepyopt/deapext/ algorithms.py, and optimization.py [now integrated with NeuronUnit]), which I have heavily customized and they do not or should not depend on any existing BPO code (BPO is dependency heavy).

Therefore it might be possible to create a lightweight pip installable version of the NUOptimizer, that does not depend on NEURON, PyNN, BluePyOpt, PyNeuroML or anything, big heavy and C external library based. We also don't want begginers to have to use apt-get.

The later docker layers should definitely include these big heavy external C based programs, with all the support they offer.

Having a highly pythonic pip installable version could mean that it's easier for beginners to pick this up.

@russelljjarvis
Copy link
Author

russelljjarvis commented Jan 31, 2019

Also to help this along, my latest git commit does away with the dependency on BluePyOpt, and I created an __init__.py for models/backends, called __light_backends__.py. This will facilitate a really light weight pip installable NUOpt env.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant