Portfolio-grade public release of a master's-level neural networks laboratory project, covering
ex01toex09with full reports, curated figures, and GIF-based visual narratives preserved.
This repository is the public flagship release of a broader private archive developed during laboratory work in neural networks at the master's degree level. The public v1 focuses on the strongest and most internally consistent part of the portfolio: four chapters spanning integrate-and-fire neuron models, neural mass modeling, hetero-associative memory, and Hopfield networks.
The release is intentionally curated rather than partial by accident. It preserves the material that carries the real value of the project β exercise-level reports, chapter narratives, manual figures, animated GIFs, equations, and reproducibility tooling β while excluding the original exercise PDFs and the later chapters that are still being finalized for public presentation.
The public v1 follows a coherent scientific arc:
- Cap01 develops integrate-and-fire neuron models through threshold dynamics, adaptation, and synaptic conductances.
- Cap02 lifts the analysis from single neurons to cortical populations with the Jansen-Rit neural mass model and EEG-like rhythms.
- Cap03 studies hetero-associative memory with Hebbian learning, recognition under noise, and image reconstruction.
- Cap04 closes the release with recurrent associative memory through Hopfield networks, attractor dynamics, and capacity/robustness analyses.
All public chapters retain the full report-centric presentation style: chapter introductions, exercise-level scientific narratives, curated figures, and GIF-based visual explanations.
| Exercise | Topic | Key Concept | Report |
|---|---|---|---|
| 01 | Constant Threshold IF | f-I curves, Euler integration | View |
| 02 | Variable Threshold IF | Relative refractory period | View |
| 03 | IF with Adaptation | Spike-frequency adaptation | View |
| 04 | Synaptic Conductances | Coupled excitatory/inhibitory interactions | View |
| Exercise | Topic | Key Concept | Report |
|---|---|---|---|
| 05 | Neural Mass Models | Jansen-Rit dynamics, EEG alpha rhythm | View |
| Exercise | Topic | Key Concept | Report |
|---|---|---|---|
| 06 | Hetero-Associative I | Hebbian mapping, linear vs sigmoid readout | View |
| 07 | Hetero-Associative II | Multi-pattern storage and reconstruction | View |
| Exercise | Topic | Key Concept | Report |
|---|---|---|---|
| 08 | Hopfield Model I | Image pattern recovery with asynchronous updates | View |
| 09 | Hopfield Model II | Capacity limits, sparse coding, dilution studies | View |
- Integrate-and-fire modeling, refractory dynamics, adaptation, and synaptic conductances
- Mean-field neural mass modeling and EEG-oriented spectral analysis
- Hebbian associative memory, cross-talk analysis, and reconstruction under noise
- Hopfield energy landscapes, asynchronous retrieval, dilution, and sparse coding
- Scientific computing with NumPy, SciPy, and Matplotlib
- Reproducible report generation with curated static figures and animated narratives
- Python
3.10 - Poetry
poetry config virtualenvs.in-project true --local
poetry env use 3.10
poetry installpoetry run python Cap01_Integrate-and-Fire-Models/03-if-adaptation/python/exercise03.py
poetry run python Cap04_Hopfield-Networks/08-hopfield-model-i/python/exercise08.pyExternal datasets are not bundled in this public release.
Place required .mat files in data/raw/ or set NN_DATA_DIR:
export NN_DATA_DIR=/path/to/datasets # Linux/macOS
set NN_DATA_DIR=C:\path\to\datasets # WindowsRequired files for public v1:
imdemos.matforex08andex09
This public release intentionally preserves the portfolio-grade report material for ex01-ex09:
- chapter-level README narratives
- exercise-level scientific reports
- all curated
report/plots/manual/** - all curated
report/plots/full/** report/metrics/full.json
The repository includes the reporting pipeline used to regenerate exercise-level outputs for the public scope.
poetry run python shared/reporting/validate_data.py
poetry run python shared/reporting/run_all.py --profile fast
poetry run python shared/reporting/run_all.py --profile full
poetry run python shared/reporting/run_all.py --exercise ex08 --profile fullAdditional details are documented in docs/reporting-workflow.md.
Neural-Networks-Portfolio/
βββ Cap01_Integrate-and-Fire-Models/
βββ Cap02_Neural-Mass-Models/
βββ Cap03_Hetero-Associative-Networks/
βββ Cap04_Hopfield-Networks/
βββ data/raw/
βββ docs/
βββ shared/reporting/
βββ shared/utils.py
- Current public v1:
Cap01toCap04(ex01-ex09) - Next public release:
Cap05once the supervised/deep-learning chapter is publication-ready - Final planned addition:
Cap06after its visual and report layer reaches the same standard as the earlier chapters
MIT License. See LICENSE.



