Skip to content

Commit fb3124c

Browse files
committed
deploy: 193bef2
1 parent ec8ec47 commit fb3124c

File tree

36 files changed

+218
-111
lines changed

36 files changed

+218
-111
lines changed

README.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,10 @@
221221
<li class="toctree-l3"><a class="reference internal" href="assignments/Assignment_1%3AHopfield_Networks/hopfield_assignment_template.html">Submission Template</a></li>
222222
</ul>
223223
</details></li>
224-
<li class="toctree-l2"><a class="reference internal" href="assignments/Assignment_2%3ASearch_of_Associative_Memory_Model/README.html">Assignment 2: Search of Associative Memory (SAM) Model</a></li>
224+
<li class="toctree-l2 has-children"><a class="reference internal" href="assignments/Assignment_2%3ASearch_of_Associative_Memory_Model/README.html">Assignment 2: Search of Associative Memory (SAM) Model</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
225+
<li class="toctree-l3"><a class="reference internal" href="assignments/Assignment_2%3ASearch_of_Associative_Memory_Model/sam_assignment_template.html">Submission Template</a></li>
226+
</ul>
227+
</details></li>
225228
<li class="toctree-l2"><a class="reference internal" href="assignments/Assignment_3%3AContext_Maintenance_and_Retrieval_Model/README.html">Assignment 3: Context Maintenance and Retrieval (CMR)</a></li>
226229
<li class="toctree-l2"><a class="reference internal" href="assignments/Assignment_4%3A_Laplace_Temporal_Context_Model/README.html">Assignment 4: Laplace Temporal Context Model (Laplace TCM)</a></li>
227230
<li class="toctree-l2"><a class="reference internal" href="assignments/Final_Project/README.html">Final Project: Open-Ended Exploration of Memory Models</a></li>

_sources/assignments/Assignment_1:Hopfield_Networks/hopfield_assignment_template.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"\n",
2323
"This notebook provides a suggested starter template for completing the [Hopfield network assignment](https://contextlab.github.io/memory-models-course/assignments/Assignment_1%3AHopfield_Networks/README.html).\n",
2424
"\n",
25-
"You should submit your assignment by uploading your completed notebook to [Canvas](https://canvas.dartmouth.edu/courses/71051/assignments/517353). Please ensure that your notebook runs without errors in [Google Colaborator](https://colab.research.google.com/)."
25+
"You should submit your assignment by uploading your completed notebook to [Canvas](https://canvas.dartmouth.edu/courses/71051/assignments/517353). Please ensure that your notebook runs without errors in [Google Colaboratory](https://colab.research.google.com/)."
2626
]
2727
},
2828
{

_sources/assignments/Assignment_2:Search_of_Associative_Memory_Model/sam_assignment_template.ipynb

Lines changed: 48 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,34 @@
11
{
2-
"nbformat": 4,
3-
"nbformat_minor": 0,
4-
"metadata": {
5-
"colab": {
6-
"provenance": [],
7-
"include_colab_link": true
8-
},
9-
"kernelspec": {
10-
"name": "python3",
11-
"display_name": "Python 3"
12-
},
13-
"language_info": {
14-
"name": "python"
15-
}
16-
},
172
"cells": [
183
{
194
"cell_type": "markdown",
205
"metadata": {
21-
"id": "view-in-github",
22-
"colab_type": "text"
6+
"colab_type": "text",
7+
"id": "view-in-github"
238
},
249
"source": [
2510
"<a href=\"https://colab.research.google.com/github/ContextLab/memory-models-course/blob/main/content/Assignment_2%3ASearch_of_Associative_Memory_Model/sam_assignment_template.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
2611
]
2712
},
2813
{
2914
"cell_type": "markdown",
15+
"metadata": {},
3016
"source": [
31-
"Imports"
32-
],
17+
"# Submission Template\n",
18+
"\n",
19+
"This notebook provides a suggested starter template for completing the [SAM model assignment](https://contextlab.github.io/memory-models-course/assignments/Assignment_2%3ASearch_of_Associative_Memory_Model/README.html).\n",
20+
"\n",
21+
"You should submit your assignment by uploading your completed notebook to [Canvas](https://canvas.dartmouth.edu/courses/71051/assignments/517354). Please ensure that your notebook runs without errors in [Google Colaboratory](https://colab.research.google.com/)."
22+
]
23+
},
24+
{
25+
"cell_type": "markdown",
3326
"metadata": {
3427
"id": "ZNp6i_sXKA8r"
35-
}
28+
},
29+
"source": [
30+
"Imports"
31+
]
3632
},
3733
{
3834
"cell_type": "code",
@@ -50,15 +46,20 @@
5046
},
5147
{
5248
"cell_type": "markdown",
53-
"source": [
54-
"Basic skeleton for the SAM model"
55-
],
5649
"metadata": {
5750
"id": "atpXuzOFKDSb"
58-
}
51+
},
52+
"source": [
53+
"Basic skeleton for the SAM model"
54+
]
5955
},
6056
{
6157
"cell_type": "code",
58+
"execution_count": null,
59+
"metadata": {
60+
"id": "PUXuEy_3-q3E"
61+
},
62+
"outputs": [],
6263
"source": [
6364
"class item(object):\n",
6465
" count = 0\n",
@@ -132,28 +133,38 @@
132133
" # - recall (given cue strength):\n",
133134
" # - if successful, reset m1_count and m2_count, set previous_recall to item, return sampled item\n",
134135
" # - otherwise increment m1_count or m2_count. if either exceed M_1/M2, return None"
135-
],
136-
"metadata": {
137-
"id": "PUXuEy_3-q3E"
138-
},
139-
"execution_count": null,
140-
"outputs": []
136+
]
141137
},
142138
{
143139
"cell_type": "markdown",
140+
"metadata": {
141+
"id": "ipssh_MdXWF8"
142+
},
144143
"source": [
145144
"Other tasks:\n",
146-
" - Fit params to [Murdock (1962) dataset](https://memory.psych.upenn.edu/files/pubs/Murd62.data.tgz)\n",
145+
" - Fit params to [Murdock (1962) dataset](https://github.com/ContextLab/memory-models-course/tree/main/content/assignments/Assignment_2%3ASearch_of_Associative_Memory_Model/Murd62%20data)\n",
147146
" - Need to define a \"loss\" function. I suggest computing MSE for one or more behavioral curves, computed for a subset of the Murdock (1962) participants/lists\n",
148147
" - I suggest using [scipy.optimize.minimize](https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.minimize.html) to estimate the model parameters.\n",
149148
" - Create observed/predicted plots for held-out data:\n",
150149
" - p(first recall)\n",
151150
" - p(recall)\n",
152151
" - lag-CRP"
153-
],
154-
"metadata": {
155-
"id": "ipssh_MdXWF8"
156-
}
152+
]
157153
}
158-
]
159-
}
154+
],
155+
"metadata": {
156+
"colab": {
157+
"include_colab_link": true,
158+
"provenance": []
159+
},
160+
"kernelspec": {
161+
"display_name": "Python 3",
162+
"name": "python3"
163+
},
164+
"language_info": {
165+
"name": "python"
166+
}
167+
},
168+
"nbformat": 4,
169+
"nbformat_minor": 0
170+
}

admin/syllabus.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,10 @@
218218
<li class="toctree-l3"><a class="reference internal" href="../assignments/Assignment_1%3AHopfield_Networks/hopfield_assignment_template.html">Submission Template</a></li>
219219
</ul>
220220
</details></li>
221-
<li class="toctree-l2"><a class="reference internal" href="../assignments/Assignment_2%3ASearch_of_Associative_Memory_Model/README.html">Assignment 2: Search of Associative Memory (SAM) Model</a></li>
221+
<li class="toctree-l2 has-children"><a class="reference internal" href="../assignments/Assignment_2%3ASearch_of_Associative_Memory_Model/README.html">Assignment 2: Search of Associative Memory (SAM) Model</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
222+
<li class="toctree-l3"><a class="reference internal" href="../assignments/Assignment_2%3ASearch_of_Associative_Memory_Model/sam_assignment_template.html">Submission Template</a></li>
223+
</ul>
224+
</details></li>
222225
<li class="toctree-l2"><a class="reference internal" href="../assignments/Assignment_3%3AContext_Maintenance_and_Retrieval_Model/README.html">Assignment 3: Context Maintenance and Retrieval (CMR)</a></li>
223226
<li class="toctree-l2"><a class="reference internal" href="../assignments/Assignment_4%3A_Laplace_Temporal_Context_Model/README.html">Assignment 4: Laplace Temporal Context Model (Laplace TCM)</a></li>
224227
<li class="toctree-l2"><a class="reference internal" href="../assignments/Final_Project/README.html">Final Project: Open-Ended Exploration of Memory Models</a></li>

assignments/Assignment_1:Hopfield_Networks/README.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@
220220
<li class="toctree-l3"><a class="reference internal" href="hopfield_assignment_template.html">Submission Template</a></li>
221221
</ul>
222222
</details></li>
223-
<li class="toctree-l2"><a class="reference internal" href="../Assignment_2%3ASearch_of_Associative_Memory_Model/README.html">Assignment 2: Search of Associative Memory (SAM) Model</a></li>
223+
<li class="toctree-l2 has-children"><a class="reference internal" href="../Assignment_2%3ASearch_of_Associative_Memory_Model/README.html">Assignment 2: Search of Associative Memory (SAM) Model</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
224+
<li class="toctree-l3"><a class="reference internal" href="../Assignment_2%3ASearch_of_Associative_Memory_Model/sam_assignment_template.html">Submission Template</a></li>
225+
</ul>
226+
</details></li>
224227
<li class="toctree-l2"><a class="reference internal" href="../Assignment_3%3AContext_Maintenance_and_Retrieval_Model/README.html">Assignment 3: Context Maintenance and Retrieval (CMR)</a></li>
225228
<li class="toctree-l2"><a class="reference internal" href="../Assignment_4%3A_Laplace_Temporal_Context_Model/README.html">Assignment 4: Laplace Temporal Context Model (Laplace TCM)</a></li>
226229
<li class="toctree-l2"><a class="reference internal" href="../Final_Project/README.html">Final Project: Open-Ended Exploration of Memory Models</a></li>

assignments/Assignment_1:Hopfield_Networks/hopfield_assignment_template.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@
220220
<li class="toctree-l3 current active"><a class="current reference internal" href="#">Submission Template</a></li>
221221
</ul>
222222
</details></li>
223-
<li class="toctree-l2"><a class="reference internal" href="../Assignment_2%3ASearch_of_Associative_Memory_Model/README.html">Assignment 2: Search of Associative Memory (SAM) Model</a></li>
223+
<li class="toctree-l2 has-children"><a class="reference internal" href="../Assignment_2%3ASearch_of_Associative_Memory_Model/README.html">Assignment 2: Search of Associative Memory (SAM) Model</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
224+
<li class="toctree-l3"><a class="reference internal" href="../Assignment_2%3ASearch_of_Associative_Memory_Model/sam_assignment_template.html">Submission Template</a></li>
225+
</ul>
226+
</details></li>
224227
<li class="toctree-l2"><a class="reference internal" href="../Assignment_3%3AContext_Maintenance_and_Retrieval_Model/README.html">Assignment 3: Context Maintenance and Retrieval (CMR)</a></li>
225228
<li class="toctree-l2"><a class="reference internal" href="../Assignment_4%3A_Laplace_Temporal_Context_Model/README.html">Assignment 4: Laplace Temporal Context Model (Laplace TCM)</a></li>
226229
<li class="toctree-l2"><a class="reference internal" href="../Final_Project/README.html">Final Project: Open-Ended Exploration of Memory Models</a></li>
@@ -443,7 +446,7 @@ <h2> Contents </h2>
443446
<section class="tex2jax_ignore mathjax_ignore" id="submission-template">
444447
<h1>Submission Template<a class="headerlink" href="#submission-template" title="Link to this heading">#</a></h1>
445448
<p>This notebook provides a suggested starter template for completing the <a class="reference external" href="https://contextlab.github.io/memory-models-course/assignments/Assignment_1%3AHopfield_Networks/README.html">Hopfield network assignment</a>.</p>
446-
<p>You should submit your assignment by uploading your completed notebook to <a class="reference external" href="https://canvas.dartmouth.edu/courses/71051/assignments/517353">Canvas</a>. Please ensure that your notebook runs without errors in <a class="reference external" href="https://colab.research.google.com/">Google Colaborator</a>.</p>
449+
<p>You should submit your assignment by uploading your completed notebook to <a class="reference external" href="https://canvas.dartmouth.edu/courses/71051/assignments/517353">Canvas</a>. Please ensure that your notebook runs without errors in <a class="reference external" href="https://colab.research.google.com/">Google Colaboratory</a>.</p>
447450
<section id="setup">
448451
<h2>Setup<a class="headerlink" href="#setup" title="Link to this heading">#</a></h2>
449452
<p>Import necessary libraries and define helper functions.</p>

assignments/Assignment_2:Search_of_Associative_Memory_Model/README.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<script>DOCUMENTATION_OPTIONS.pagename = 'assignments/Assignment_2:Search_of_Associative_Memory_Model/README';</script>
6363
<link rel="index" title="Index" href="../../genindex.html" />
6464
<link rel="search" title="Search" href="../../search.html" />
65-
<link rel="next" title="Assignment 3: Context Maintenance and Retrieval (CMR)" href="../Assignment_3%3AContext_Maintenance_and_Retrieval_Model/README.html" />
65+
<link rel="next" title="Submission Template" href="sam_assignment_template.html" />
6666
<link rel="prev" title="Submission Template" href="../Assignment_1%3AHopfield_Networks/hopfield_assignment_template.html" />
6767
<meta name="viewport" content="width=device-width, initial-scale=1"/>
6868
<meta name="docsearch:language" content="en"/>
@@ -220,7 +220,10 @@
220220
<li class="toctree-l3"><a class="reference internal" href="../Assignment_1%3AHopfield_Networks/hopfield_assignment_template.html">Submission Template</a></li>
221221
</ul>
222222
</details></li>
223-
<li class="toctree-l2 current active"><a class="current reference internal" href="#">Assignment 2: Search of Associative Memory (SAM) Model</a></li>
223+
<li class="toctree-l2 current active has-children"><a class="current reference internal" href="#">Assignment 2: Search of Associative Memory (SAM) Model</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
224+
<li class="toctree-l3"><a class="reference internal" href="sam_assignment_template.html">Submission Template</a></li>
225+
</ul>
226+
</details></li>
224227
<li class="toctree-l2"><a class="reference internal" href="../Assignment_3%3AContext_Maintenance_and_Retrieval_Model/README.html">Assignment 3: Context Maintenance and Retrieval (CMR)</a></li>
225228
<li class="toctree-l2"><a class="reference internal" href="../Assignment_4%3A_Laplace_Temporal_Context_Model/README.html">Assignment 4: Laplace Temporal Context Model (Laplace TCM)</a></li>
226229
<li class="toctree-l2"><a class="reference internal" href="../Final_Project/README.html">Final Project: Open-Ended Exploration of Memory Models</a></li>
@@ -667,6 +670,8 @@ <h2>Submission Instructions<a class="headerlink" href="#submission-instructions"
667670
</ul>
668671
<p>Good luck, and happy modeling!</p>
669672
</section>
673+
<div class="toctree-wrapper compound">
674+
</div>
670675
</section>
671676

672677
<script type="text/x-thebe-config">
@@ -709,11 +714,11 @@ <h2>Submission Instructions<a class="headerlink" href="#submission-instructions"
709714
</div>
710715
</a>
711716
<a class="right-next"
712-
href="../Assignment_3%3AContext_Maintenance_and_Retrieval_Model/README.html"
717+
href="sam_assignment_template.html"
713718
title="next page">
714719
<div class="prev-next-info">
715720
<p class="prev-next-subtitle">next</p>
716-
<p class="prev-next-title">Assignment 3: Context Maintenance and Retrieval (CMR)</p>
721+
<p class="prev-next-title">Submission Template</p>
717722
</div>
718723
<i class="fa-solid fa-angle-right"></i>
719724
</a>

0 commit comments

Comments
 (0)