Skip to content

Add tutorial diagram for GaussianErrorCells #107

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 42 commits into from
Apr 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
51d5529
add GaussianErrorCell figure
Faezehabibi Apr 15, 2025
982694d
Update error_cell.md
Faezehabibi Apr 15, 2025
2eb38ae
Update error_cell.md
Faezehabibi Apr 15, 2025
1e2cdbf
Delete docs/images/tutorials/neurocog/GaussianErrorCells.pdf
Faezehabibi Apr 15, 2025
180111b
Add files via upload
Faezehabibi Apr 15, 2025
3c15189
Rename GaussianErrorCells_figure copy.png to GaussianErrorCells_figur…
Faezehabibi Apr 15, 2025
0de02fe
Update error_cell.md
Faezehabibi Apr 15, 2025
c25e3f3
Delete docs/images/tutorials/neurocog/GaussianErrorCells_figure.png
Faezehabibi Apr 15, 2025
715f3ee
Add files via upload
Faezehabibi Apr 15, 2025
e885487
Update error_cell.md
Faezehabibi Apr 15, 2025
1b16234
Update error_cell.md
Faezehabibi Apr 15, 2025
3aa0aa7
Update error_cell.md
Faezehabibi Apr 15, 2025
20a2e4b
Update error_cell.md
Faezehabibi Apr 15, 2025
8a6de31
Update error_cell.md
Faezehabibi Apr 15, 2025
ce49eac
Update error_cell.md
Faezehabibi Apr 15, 2025
09ab06d
Update error_cell.md
Faezehabibi Apr 15, 2025
76d5276
Update error_cell.md
Faezehabibi Apr 15, 2025
079b351
Delete docs/images/tutorials/neurocog/GaussianErrorCells.png
Faezehabibi Apr 15, 2025
41bb867
Add files via upload
Faezehabibi Apr 15, 2025
3505972
Add files via upload
Faezehabibi Apr 15, 2025
3c44bef
Delete docs/images/tutorials/neurocog/GEC.png
Faezehabibi Apr 15, 2025
cf321b7
Add files via upload
Faezehabibi Apr 15, 2025
dbb63c2
Add files via upload
Faezehabibi Apr 15, 2025
7e82270
Delete docs/images/tutorials/neurocog/GEC.png
Faezehabibi Apr 15, 2025
2f1d4f1
Add files via upload
Faezehabibi Apr 15, 2025
b0f99a3
Update error_cell.md
Faezehabibi Apr 15, 2025
2e91f56
Update error_cell.md
Faezehabibi Apr 15, 2025
1701cfb
Update error_cell.md
Faezehabibi Apr 15, 2025
cff7638
Add files via upload
Faezehabibi Apr 15, 2025
2ec2471
Update error_cell.md
Faezehabibi Apr 15, 2025
717c46c
Update error_cell.md
Faezehabibi Apr 15, 2025
fd3864e
Update error_cell.md
Faezehabibi Apr 15, 2025
7ab762b
Update error_cell.md
Faezehabibi Apr 15, 2025
3f3ebe6
Update error_cell.md
Faezehabibi Apr 15, 2025
9195df7
Update error_cell.md
Faezehabibi Apr 15, 2025
1e6d23f
Update error_cell.md
Faezehabibi Apr 15, 2025
13d6c1e
Update error_cell.md
Faezehabibi Apr 15, 2025
cd44b74
Update error_cell.md
Faezehabibi Apr 15, 2025
993e198
Update error_cell.md
Faezehabibi Apr 15, 2025
1e407d3
Update error_cell.md
Faezehabibi Apr 15, 2025
92e16b0
Update error_cell.md
Faezehabibi Apr 15, 2025
ceed1a5
Delete docs/images/tutorials/neurocog/GaussianErrorCells_figure.png
Faezehabibi Apr 17, 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
Binary file added docs/images/tutorials/neurocog/GEC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tutorials/neurocog/SingleGEC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/tutorials/neurocog/error_cell.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@


# Lecture 3B: Error Cell Models

<img src="../../images/tutorials/neurocog/SingleGEC.png" width="250" align="right"/>

Error cells are a particularly useful component cell that offers a simple and
fast way of computing mismatch signals, i.e., error values that compare a
target value against a predicted value. In predictive coding literature, mismatch
Expand All @@ -13,8 +17,11 @@ key examples of where error neurons come into play). In this lesson, we will
briefly review one of the most commonly used ones -- the
[Gaussian error cell](ngclearn.components.neurons.graded.gaussianErrorCell).


## Calculating Mismatch Values with the Gaussian Error Cell

<img src="../../images/tutorials/neurocog/GEC.png" width="200" align="right"/>

The Gaussian error cell, much like most error neurons, is in fact a derived
calculation when considering a cost function. Specifically, this error cell
component inherits its name from the fact that it is producing output values
Expand Down