Comments (6)
Great, closing the issue :))
from ratinabox.
@TomGeorge1234 Do you recall the rationale behind having "I" in the inputs keys?
from ratinabox.
Hmm, a quick search suggests it is a hangover from a very early version of FeedForwardLayer
(the DendriticCompartment
class in this old demo on path integration. It was likely something to do with only wanting to overwrite a variable on a online cell update but not when you plot the rate map etc. offline...or something like that.
As far as I can tell, this doesn't matter and we could get rid of "I_temp"
and just have "I"
. Does this match your understanding?
from ratinabox.
Ah, I see. For my part, the most useful approach would be to update "I"
only when .get_state()
is called with evaluate_at="last"
. In this way, "I"
would allow us to store the latest input firingrate from each input layer. If we use this approach, then I think we would only need keep "I_temp"
if we also want to store the last input firingrates computed using .get_state()
, even if it wasn't with evaluate_at="last"
.
from ratinabox.
I can't see problem with this. I just pushed a change that should implement that for you. Want to let me know if it works? It's now:
RatInABox/ratinabox/Neurons.py
Lines 2672 to 2677 in 85f2a37
from ratinabox.
Yeah, that looks good to me!
from ratinabox.
Related Issues (20)
- Please tag the 1.9.1 release HOT 2
- Minimum required python version currently 3.10 HOT 2
- Agent vector cells HOT 1
- New Actions HOT 3
- AgentVectorCells and FieldOfViewAVCs HOT 3
- Version mismatch in 1.11.0 metadata HOT 1
- Open discussion: Object disappear after Agent passes by HOT 3
- Name swap...
- Speed and place cells HOT 13
- Small bug relating to PR #101 HOT 1
- history not loaded when importing trajectory HOT 3
- New python version bug HOT 2
- Modules of grid cells with uniform offsets HOT 1
- add error checking to parameter settings HOT 2
- Firingrate norm for BVCs should be unscaled HOT 2
- BVC firingrates go over max_fr HOT 9
- Confused about setting multiple spatial goals in the A2C demo HOT 4
- straight trajectory with fixed speed mean, but Ag.history['vel'] is not constant HOT 5
- Can't get firingrate when using import_trajectory with interpolate=False HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ratinabox.