-
Notifications
You must be signed in to change notification settings - Fork 6
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
abstract model class PyNN_model #12
Comments
We started something like this here but did not get very far. In particular we implemented this as a backend (like a simulator) but I think this was the wrong strategy and we should have made it a model class like we did for LEMSModel here. In any case, I think both @russelljjarvis and I would be interested in following along with this issue. |
@rgutzen if I create an abstract model pyNN backend for NetworkUnit, I wonder if there are some NetworkUnit scripts I can run it with to demonstrate the integration is good? |
This file represents the extent of the work. Note I don't remember if that file actually works, but it was more of a guess at what the design of a network NU test class for pyNN would look like. I am not sure how valuable it is to write generic classes for things like Network models. It might be okay to have a naive PyNN network model, and to bind methods to this network model that NU needs to use to evaluate model fitness. |
I think it is probably less about whether there should be generic network models, and more about whether it is useful to have PyNN bindings in a SciUnit model. I have found having the |
The idea behind such a model class was that it is generally not practical or desirable to require users and developers to reimplement each network model into the sciunit structure in order to validate it. So, there two approaches of how to make the integration of new network models easier and lower the threshold for actual use cases: a) create an intuitive interface to link to external scripts that build and run models on their own (#11 ). b) make the model definition within a model class as simple as possible, hence PyNN. |
I think a) and b) are compatible. With my implementation of #11 in sciunit, one can do
where the paths in the list are for files that create pyNN models, and then the @rgutzen Maybe you can conceive of the minimal form of the |
No description provided.
The text was updated successfully, but these errors were encountered: