Skip to content

further nudge from main to release #104

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

Merged
merged 117 commits into from
Apr 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
1dee123
generalized rate-cell a bit
ago109 Jul 22, 2024
e72d75e
Merge branch 'main' of github.com:NACLab/ngc-learn
ago109 Jul 22, 2024
2189f51
touched up rate-cell further
ago109 Jul 23, 2024
23eb7ed
minor mod to lif
ago109 Jul 23, 2024
1ddd86d
updated lif-cell to use units/tags and minor cleanup and edits
ago109 Jul 23, 2024
e240644
Monitor plot (#66)
willgebhardt Jul 23, 2024
086bd4d
added meta-data to rate-cell, input encoders, adex
ago109 Jul 23, 2024
19bf502
fixed minor saving/loading in rate-cell w/ vectorized compartments
ago109 Jul 23, 2024
4e298db
Added auto resolving for monitors (#67)
willgebhardt Jul 23, 2024
22e0d3a
fixed surr arg in lif-cell
ago109 Jul 24, 2024
42167cb
Merge branch 'main' of github.com:NACLab/ngc-learn
ago109 Jul 24, 2024
05ea912
modded bernoulli-cell to include max-frequency constraint
ago109 Jul 24, 2024
c19d15e
added warning check to bernoulli, some cleanup
ago109 Jul 24, 2024
23a54f6
integrated if-cell, cleaned up lif and inits
ago109 Jul 24, 2024
27a61ef
mod to latency-cell
ago109 Jul 24, 2024
05a97f0
updated the poissonCell to be a true poisson
willgebhardt Jul 25, 2024
cdea291
Merge branch 'dynamics' of github.com:NACLab/ngc-learn into dynamics
willgebhardt Jul 25, 2024
efa61a5
fixed minor bug in deprecation for poiss/bern
ago109 Jul 25, 2024
223d3c0
fixed minor bug in deprecation for poiss/bern
ago109 Jul 25, 2024
9afaadf
fixed validation fun in bern/poiss
ago109 Jul 25, 2024
bf72094
moved back and cleaned up bernoulli and poisson cells
ago109 Jul 25, 2024
c894b8a
added threshold-clipping to latency cell
ago109 Jul 25, 2024
ba08453
updates to if/lif
ago109 Jul 26, 2024
9c932b1
added batch-size arg to slif
ago109 Jul 26, 2024
03940e9
fixed minor load bug in lif-cell
ago109 Jul 27, 2024
6bc5cd8
fixed a blocking jit-partial call in lif update_theta method; when lo…
Jul 27, 2024
f4c03a1
minor edit to dim-reduce
Jul 28, 2024
8d74157
Patched synapses added (#68)
Faezehabibi Aug 1, 2024
8d5bbd1
updated monitor plot code
willgebhardt Aug 6, 2024
97c4d92
update to dim-reduce
ago109 Aug 6, 2024
bf06510
update to dim-reduce with merge
ago109 Aug 6, 2024
77f347f
integrated phasor-cell, minor cleanup of latency
ago109 Aug 6, 2024
714a58c
tweak to adex thr arg
ago109 Aug 7, 2024
6ec2e7a
tweak to adex thr arg
ago109 Aug 7, 2024
fb8524a
integrated resonate-and-fire neuronal cell
ago109 Aug 8, 2024
dd49e5f
mod to raf-cell
ago109 Aug 8, 2024
8882208
cleaned up raf
ago109 Aug 8, 2024
ee50f33
cleaned up raf
ago109 Aug 8, 2024
611e5b3
cleaned up raf-cell
ago109 Aug 9, 2024
94f37f7
cleaned up raf-cell
ago109 Aug 9, 2024
73e5aa1
cleaned up raf-cell
ago109 Aug 9, 2024
6408ee0
minor tweak to dim-reduce in utils
Aug 11, 2024
da439bd
Fix typo in pcn_discrim.md (#69)
sonnygeorge Oct 7, 2024
7510bb3
model_utils and rate cell (#70)
Faezehabibi Oct 16, 2024
889d230
Fix/reorganize feature library (#74)
Faezehabibi Oct 25, 2024
7338c34
Update model_utils.py (#78)
Faezehabibi Nov 19, 2024
35eae76
Additions for inhibition stuff
willgebhardt Nov 19, 2024
94f1697
add sindy documentation for exhibits (#81)
Faezehabibi Dec 2, 2024
de53d20
Update ode_utils.py (#79)
Faezehabibi Dec 2, 2024
23473ab
Add patched synapse (#80)
Faezehabibi Dec 2, 2024
2295ba5
Update __init__.py (#83)
Faezehabibi Dec 6, 2024
eeb057a
Add l1 decay term to update calculation (#84)
Faezehabibi Dec 9, 2024
cf53968
feat NGC module regression (#86)
Faezehabibi Dec 9, 2024
c49daea
Update odes.py
Faezehabibi Dec 10, 2024
d5def75
Update odes.py (#87)
Faezehabibi Dec 10, 2024
21a8af0
Update odes.py
Faezehabibi Dec 10, 2024
537c29d
Update __init__.py
Faezehabibi Dec 10, 2024
34278ed
Update __init__.py
Faezehabibi Dec 10, 2024
0782fa6
Merge pull request #89 from Faezehabibi/fix-typo
rxng8 Dec 10, 2024
8b2730a
Merge branch 'NACLab:main' into refactor-odes
Faezehabibi Dec 10, 2024
9a3ce0e
Merge pull request #88 from Faezehabibi/refactor-odes
rxng8 Dec 10, 2024
da2f24e
Add attribute 'lr' (#90)
Faezehabibi Dec 16, 2024
796178d
commit probes/mods to utils to analysis_tools branch
Mar 1, 2025
84237ff
commit probes/mods to utils to analysis_tools branch
Mar 1, 2025
9d7acbb
update documentation
rxng8 Mar 1, 2025
247de74
cleaned up probes/docs for probes
Mar 1, 2025
d0df86e
change heads_dim to attn_dim, and modify the mlp to be as similar as …
rxng8 Mar 1, 2025
8a36e40
in layer normalization or any other Gaussian, standardeviation can ne…
rxng8 Mar 1, 2025
f402d98
update attentive probe code
rxng8 Mar 1, 2025
2a71b7f
minor tweak to attentive prob code comments
Mar 3, 2025
b688c6c
cleaned up probe parent fit routine
Mar 3, 2025
9ad4ae2
cleaned up probe parent fit routine
Mar 3, 2025
3a2de99
cleaned up probe parent fit routine
Mar 3, 2025
155d830
cleaned up probe parent fit routine
Mar 3, 2025
099c588
minor edits to attn probe
Mar 5, 2025
aeabf61
update attentive probe with input layer norm
rxng8 Mar 5, 2025
8682954
update input layer normalization
rxng8 Mar 6, 2025
dc8c127
update code to fix nan bug
rxng8 Mar 6, 2025
27fd9bf
minor tweak to attn probe
Mar 6, 2025
84005b5
cleaned up probes
Mar 6, 2025
2feeced
cleaned up probes
Mar 6, 2025
56f006c
cleaned up probes
Mar 6, 2025
1b7bff8
cleaned up probes
Mar 6, 2025
f38373f
generalized dropout in terms of shape
Mar 6, 2025
012395b
tweak to atten probe
Mar 6, 2025
53ed773
tweak to atten probe
Mar 6, 2025
1fbbf93
added silu/swish/elu to model_utils
Mar 6, 2025
23e8c84
cleaned up model_utils
Mar 6, 2025
695e9d8
fix bug in attention probe dropout, fix bug in None noise_key passed …
rxng8 Mar 7, 2025
04e1343
hyperparameter tunning arguments added
rxng8 Mar 10, 2025
b3418df
Merge branch 'main' into analysis_tools
rxng8 Mar 11, 2025
ffd8f0e
Merging over Dynamics feature branch to main (#92)
ago109 Mar 12, 2025
2d0452a
Merge branch 'main' into analysis_tools
ago109 Mar 12, 2025
7bfd8ac
remove unused local variables
rxng8 Mar 12, 2025
27ae7e2
update note
rxng8 Mar 12, 2025
92633f9
update model utils
rxng8 Mar 13, 2025
08b4d12
remove notes
rxng8 Mar 13, 2025
8f75b0d
Merge pull request #93 from NACLab/analysis_tools
rxng8 Mar 13, 2025
5664c64
Update ode utils (#94)
Faezehabibi Mar 13, 2025
36e8152
minor fix to header in diffeq
Mar 13, 2025
534ab67
Update files with ode_solver (#95)
Faezehabibi Mar 13, 2025
6e8261e
revised/cleaned up sindy tutorial doc/imgs
Mar 13, 2025
1d15f1f
add prior for hebbian patched synapse (#96)
Faezehabibi Mar 14, 2025
9de3c98
cleaned up doc-strings in odes.py to comply w/ ngc-learn format
Mar 17, 2025
0d720e1
minor tweak to sig-figs printing in probe utils
Mar 17, 2025
b9227f0
add-sigma-to-gaussianErrorCell (#97)
Faezehabibi Mar 20, 2025
4af85dc
cleaned up ode_utils, cleaned up gaussian/laplacian cell
Mar 20, 2025
7f3e7c8
Update gaussianErrorCell.py (#98)
Faezehabibi Mar 21, 2025
e055d95
cleaned up gauss/laplace error cells
Mar 21, 2025
b0b496a
integrated bernoulli err-cell
Mar 21, 2025
bbea397
Major release update merge to main (in prep for 2.0.0 release on rele…
ago109 Apr 12, 2025
54ec2dd
Major release update (to 2.0.0) (#100)
ago109 Apr 12, 2025
86b7189
Major release update merge to main (sync up) (#101)
ago109 Apr 12, 2025
20c81d2
update test cases
rxng8 Apr 12, 2025
bbfe622
added hh-plot for hh tutorial
Apr 12, 2025
214a6d3
tweak to img folder for sindy
Apr 12, 2025
0b07fff
Merge branch 'release' into main
ago109 Apr 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/museum/sindy.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ Flow diagrams lack clear directional indicators
Inconsistent color schemes across visualizations
-->


# Sparse Identification of Non-linear Dynamical Systems (SINDy)[1]
# Sparse Identification of Non-linear Dynamical Systems (SINDy)

In this section, we will study, create, simulate, and visualize a model known as the sparse identification of non-linear dynamical systems (SINDy) [1], implementing it in NGC-Learn and JAX. After going through this demonstration, you will:

Expand Down
6 changes: 3 additions & 3 deletions docs/tutorials/neurocog/hodgkin_huxley_cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ Formally, the core dynamics of the H-H cell can be written out as follows:

$$
\tau_v \frac{\partial \mathbf{v}_t}{\partial t} &= \mathbf{j}_t - g_Na * \mathbf{m}^3_t * \mathbf{h}_t * (\mathbf{v}_t - v_Na) - g_K * \mathbf{n}^4_t * (\mathbf{v}_t - v_K) - g_L * (\mathbf{v}_t - v_L) \\
\frac{\partial \mathbf{n}_t}{\partial t} &= alpha_n(\mathbf{v}_t) * (1 - \mathbf{n}_t) - beta_n(\mathbf{v}_t) * \mathbf{n}_t \\
\frac{\partial \mathbf{m}_t}{\partial t} &= alpha_m(\mathbf{v}_t) * (1 - \mathbf{m}_t) - beta_m(\mathbf{v}_t) * \mathbf{m}_t \\
\frac{\partial \mathbf{h}_t}{\partial t} &= alpha_h(\mathbf{v}_t) * (1 - \mathbf{h}_t) - beta_h(\mathbf{v}_t) * \mathbf{h}_t
\frac{\partial \mathbf{n}_t}{\partial t} &= \alpha_n(\mathbf{v}_t) * (1 - \mathbf{n}_t) - \beta_n(\mathbf{v}_t) * \mathbf{n}_t \\
\frac{\partial \mathbf{m}_t}{\partial t} &= \alpha_m(\mathbf{v}_t) * (1 - \mathbf{m}_t) - \beta_m(\mathbf{v}_t) * \mathbf{m}_t \\
\frac{\partial \mathbf{h}_t}{\partial t} &= \alpha_h(\mathbf{v}_t) * (1 - \mathbf{h}_t) - \beta_h(\mathbf{v}_t) * \mathbf{h}_t
$$

where we observe that the above four-dimensional set of dynamics is composed of nonlinear ODEs. Notice that, in each gate or channel probability ODE, there are two generator functions (each of which is a function of the membrane potential $\mathbf{v}_t$) that produces the necessary dynamic coefficients at time $t$; $\alpha_x(\mathbf{v}_t)$ and $\beta_x(\mathbf{v}_t)$ produce different biopphysical weighting values depending on which channel $x = \{n, m, h\}$ they are related to.
Expand Down