Update README.md
Browse files
README.md
CHANGED
|
@@ -116,58 +116,58 @@ flowchart TD
|
|
| 116 |
## File Structure
|
| 117 |
|
| 118 |
```text
|
| 119 |
-
hippocampaif/
|
| 120 |
-
├── __init__.py
|
| 121 |
├── core/ # Phase 1 — Foundation
|
| 122 |
-
│ ├── tensor.py
|
| 123 |
-
│ ├── free_energy.py
|
| 124 |
-
│ ├── message_passing.py
|
| 125 |
-
│ └── dynamics.py
|
| 126 |
├── retina/ # Phase 2 — Eye
|
| 127 |
-
│ ├── photoreceptor.py
|
| 128 |
-
│ ├── ganglion.py
|
| 129 |
-
│ └── spatiotemporal_energy.py
|
| 130 |
├── v1_v5/ # Phase 3 — Visual Cortex
|
| 131 |
-
│ ├── gabor_filters.py
|
| 132 |
-
│ ├── sparse_coding.py
|
| 133 |
-
│ └── hmax_pooling.py
|
| 134 |
├── hippocampus/ # Phase 4 — Memory
|
| 135 |
-
│ ├── dg.py
|
| 136 |
-
│ ├── ca3.py
|
| 137 |
-
│ ├── ca1.py
|
| 138 |
-
│ ├── entorhinal.py
|
| 139 |
-
│ ├── index_memory.py
|
| 140 |
-
│ └── replay.py
|
| 141 |
├── core_knowledge/ # Phase 5 — Innate Priors
|
| 142 |
-
│ ├── object_system.py
|
| 143 |
-
│ ├── physics_system.py
|
| 144 |
-
│ ├── number_system.py
|
| 145 |
-
│ ├── geometry_system.py
|
| 146 |
-
│ ├── agent_system.py
|
| 147 |
-
│ └── social_system.py
|
| 148 |
├── neocortex/ # Phase 6a — Higher Cognition
|
| 149 |
-
│ ├── predictive_coding.py
|
| 150 |
-
│ ├── prefrontal.py
|
| 151 |
-
│ ├── temporal.py
|
| 152 |
-
│ └── parietal.py
|
| 153 |
├── attention/ # Phase 6b — Attention
|
| 154 |
-
│ ├── superior_colliculus.py
|
| 155 |
-
│ ├── precision.py
|
| 156 |
-
│ └── competition.py
|
| 157 |
├── learning/ # Phase 7 — One-Shot
|
| 158 |
-
│ ├── distortable_canvas.py
|
| 159 |
-
│ ├── amgd.py
|
| 160 |
-
│ ├── one_shot_classifier.py
|
| 161 |
-
│ └── hebbian.py
|
| 162 |
├── action/ # Phase 8 — Motor
|
| 163 |
-
│ ├── active_inference.py
|
| 164 |
-
│ ├── motor_primitives.py
|
| 165 |
-
│ └── reflex_arc.py
|
| 166 |
├── agent/ # Phase 9 — Integration
|
| 167 |
-
│ ├── brain.py
|
| 168 |
-
│ ├── mnist_agent.py
|
| 169 |
-
│ └── breakout_agent.py
|
| 170 |
-
└── tests/ # 8 test suites, 34+ tests
|
| 171 |
├── test_core.py
|
| 172 |
├── test_retina.py
|
| 173 |
├── test_visual_cortex.py
|
|
@@ -176,6 +176,7 @@ hippocampaif/
|
|
| 176 |
├── test_neocortex_attention.py
|
| 177 |
├── test_learning.py
|
| 178 |
└── test_action.py
|
|
|
|
| 179 |
```
|
| 180 |
|
| 181 |
---
|
|
|
|
| 116 |
## File Structure
|
| 117 |
|
| 118 |
```text
|
| 119 |
+
hippocampaif/ # 59 Python files across 9 packages
|
| 120 |
+
├── __init__.py # v1.0.0, exports core classes
|
| 121 |
├── core/ # Phase 1 — Foundation
|
| 122 |
+
│ ├── tensor.py # SparseTensor
|
| 123 |
+
│ ├── free_energy.py # FreeEnergyEngine
|
| 124 |
+
│ ├── message_passing.py # HierarchicalMessagePassing
|
| 125 |
+
│ └── dynamics.py # ContinuousDynamics
|
| 126 |
├── retina/ # Phase 2 — Eye
|
| 127 |
+
│ ├── photoreceptor.py # PhotoreceptorArray
|
| 128 |
+
│ ├── ganglion.py # GanglionCellLayer (DoG)
|
| 129 |
+
│ └── spatiotemporal_energy.py # SpatiotemporalEnergyBank
|
| 130 |
├── v1_v5/ # Phase 3 — Visual Cortex
|
| 131 |
+
│ ├── gabor_filters.py # V1SimpleCells
|
| 132 |
+
│ ├── sparse_coding.py # V1ComplexCells
|
| 133 |
+
│ └── hmax_pooling.py # HMAXHierarchy
|
| 134 |
├── hippocampus/ # Phase 4 — Memory
|
| 135 |
+
│ ├── dg.py # DentateGyrus
|
| 136 |
+
│ ├── ca3.py # CA3
|
| 137 |
+
│ ├── ca1.py # CA1
|
| 138 |
+
│ ├── entorhinal.py # EntorhinalCortex
|
| 139 |
+
│ ├── index_memory.py # HippocampalIndex
|
| 140 |
+
│ └── replay.py # ReplayBuffer
|
| 141 |
├── core_knowledge/ # Phase 5 — Innate Priors
|
| 142 |
+
│ ├── object_system.py # ObjectSystem
|
| 143 |
+
│ ├── physics_system.py # PhysicsSystem
|
| 144 |
+
│ ├── number_system.py # NumberSystem
|
| 145 |
+
│ ├── geometry_system.py # GeometrySystem
|
| 146 |
+
│ ├── agent_system.py # AgentSystem
|
| 147 |
+
│ └── social_system.py # SocialSystem
|
| 148 |
├── neocortex/ # Phase 6a — Higher Cognition
|
| 149 |
+
│ ├── predictive_coding.py # PredictiveCodingHierarchy
|
| 150 |
+
│ ├── prefrontal.py # PrefrontalCortex
|
| 151 |
+
│ ├── temporal.py # TemporalCortex
|
| 152 |
+
│ └── parietal.py # ParietalCortex
|
| 153 |
├── attention/ # Phase 6b — Attention
|
| 154 |
+
│ ├── superior_colliculus.py # SuperiorColliculus
|
| 155 |
+
│ ├── precision.py # PrecisionModulator
|
| 156 |
+
│ └── competition.py # BiasedCompetition
|
| 157 |
├── learning/ # Phase 7 — One-Shot
|
| 158 |
+
│ ├── distortable_canvas.py # DistortableCanvas
|
| 159 |
+
│ ├── amgd.py # AMGD
|
| 160 |
+
│ ├── one_shot_classifier.py # OneShotClassifier
|
| 161 |
+
│ └── hebbian.py # HebbianLearning
|
| 162 |
├── action/ # Phase 8 — Motor
|
| 163 |
+
│ ├── active_inference.py # ActiveInferenceController
|
| 164 |
+
│ ├── motor_primitives.py # MotorPrimitives
|
| 165 |
+
│ └── reflex_arc.py # ReflexArc
|
| 166 |
├── agent/ # Phase 9 — Integration
|
| 167 |
+
│ ├── brain.py # Brain (full pipeline)
|
| 168 |
+
│ ├── mnist_agent.py # MNISTAgent
|
| 169 |
+
│ └── breakout_agent.py # BreakoutAgent
|
| 170 |
+
└── tests/ # 8 test suites, 34+ tests
|
| 171 |
├── test_core.py
|
| 172 |
├── test_retina.py
|
| 173 |
├── test_visual_cortex.py
|
|
|
|
| 176 |
├── test_neocortex_attention.py
|
| 177 |
├── test_learning.py
|
| 178 |
└── test_action.py
|
| 179 |
+
|
| 180 |
```
|
| 181 |
|
| 182 |
---
|