Skip to content

Commit 318fb00

Browse files
committed
Make push-pages
1 parent 229c3cb commit 318fb00

38 files changed

+14312
-858
lines changed

README.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,12 @@
184184
<li class="toctree-l1 has-children"><a class="reference internal" href="notebooks/shortclips/README.html">Shortclips tutorial</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
185185
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/02_download_shortclips.html">Download the data set</a></li>
186186
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/03_compute_explainable_variance.html">Compute the explainable variance</a></li>
187-
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/04_understand_ridge_regression.html">Understand ridge regression and cross-validation</a></li>
188-
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/05_fit_wordnet_model.html">Fit a ridge model with wordnet features</a></li>
187+
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/04_understand_ridge_regression.html">Understand ridge regression and hyperparameter selection</a></li>
188+
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/05_fit_wordnet_model.html">Fit a voxelwise encoding model with WordNet features</a></li>
189189
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/06_visualize_hemodynamic_response.html">Visualize the hemodynamic response</a></li>
190190
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/07_extract_motion_energy.html">Extract motion-energy features from the stimuli</a></li>
191-
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/08_fit_motion_energy_model.html">Fit a ridge model with motion-energy features</a></li>
192-
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/09_fit_banded_ridge_model.html">Fit a banded ridge model with both wordnet and motion-energy features</a></li>
191+
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/08_fit_motion_energy_model.html">Fit a voxelwise encoding model with motion-energy features</a></li>
192+
<li class="toctree-l2"><a class="reference internal" href="notebooks/shortclips/09_fit_banded_ridge_model.html">Fit a voxelwise encoding model with both WordNet and motion-energy features</a></li>
193193
</ul>
194194
</details></li>
195195
<li class="toctree-l1 has-children"><a class="reference internal" href="notebooks/vim2/README.html">Vim-2 tutorial (optional)</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>

_sources/notebooks/shortclips/01_setup_colab.ipynb

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@
3434
"cell_type": "markdown",
3535
"metadata": {},
3636
"source": [
37-
"## Install all required dependencies and download the data\n",
37+
"## Install all required dependencies\n",
3838
"\n",
39-
"Uncomment and run the following cell to download the required packages.\n",
40-
"\n"
39+
"Uncomment and run the following cell to download the required packages."
4140
]
4241
},
4342
{
@@ -99,42 +98,6 @@
9998
" \"on your machine.\")"
10099
]
101100
},
102-
{
103-
"cell_type": "markdown",
104-
"metadata": {},
105-
"source": [
106-
"Now run the following cell to download the data for the tutorials.\n",
107-
"\n"
108-
]
109-
},
110-
{
111-
"cell_type": "code",
112-
"execution_count": null,
113-
"metadata": {
114-
"collapsed": false
115-
},
116-
"outputs": [],
117-
"source": [
118-
"from voxelwise_tutorials.io import download_datalad\n",
119-
"\n",
120-
"DATAFILES = [\n",
121-
" \"features/motion_energy.hdf\",\n",
122-
" \"features/wordnet.hdf\",\n",
123-
" \"mappers/S01_mappers.hdf\",\n",
124-
" \"responses/S01_responses.hdf\",\n",
125-
"]\n",
126-
"\n",
127-
"source = \"https://gin.g-node.org/gallantlab/shortclips\"\n",
128-
"destination = \"/content/shortclips\"\n",
129-
"\n",
130-
"for datafile in DATAFILES:\n",
131-
" local_filename = download_datalad(\n",
132-
" datafile,\n",
133-
" destination=destination,\n",
134-
" source=source\n",
135-
" )"
136-
]
137-
},
138101
{
139102
"cell_type": "markdown",
140103
"metadata": {},

_sources/notebooks/shortclips/04_understand_ridge_regression.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"\n",
8-
"# Understand ridge regression and cross-validation\n",
7+
"# Understand ridge regression and hyperparameter selection\n",
98
"\n",
109
"In future examples, we will model the fMRI responses using a regularized linear\n",
1110
"regression known as *ridge regression*. This example explains why we use ridge\n",
1211
"regression, and how to use cross-validation to select the appropriate\n",
13-
"regularization hyper-parameter.\n",
12+
"regularization hyperparameter.\n",
1413
"\n",
1514
"Linear regression is a method to model the relation between some input\n",
1615
"variables $X \\in \\mathbb{R}^{(n \\times p)}$ (the features) and an output\n",

_sources/notebooks/shortclips/05_fit_wordnet_model.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"\n",
8-
"# Fit a ridge model with wordnet features\n",
7+
"# Fit a voxelwise encoding model with WordNet features\n",
98
"\n",
109
"In this example, we model the fMRI responses with semantic \"wordnet\" features,\n",
1110
"manually annotated on each frame of the movie stimulus. The model is a\n",

_sources/notebooks/shortclips/08_fit_motion_energy_model.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"\n",
8-
"# Fit a ridge model with motion-energy features\n",
7+
"# Fit a voxelwise encoding model with motion-energy features\n",
98
"\n",
109
"In this example, we model the fMRI responses with motion-energy features\n",
1110
"extracted from the movie stimulus. The model is a regularized linear regression\n",

_sources/notebooks/shortclips/09_fit_banded_ridge_model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Fit a banded ridge model with both wordnet and motion-energy features\n",
7+
"# Fit a voxelwise encoding model with both WordNet and motion-energy features\n",
88
"\n",
99
"In this example, we model the fMRI responses with a *banded ridge regression* \n",
1010
"with two different feature spaces: motion energy and wordnet categories.\n",

0 commit comments

Comments
 (0)