Skip to content

Commit b2282c6

Browse files
committed
Add merged notebooks
1 parent 843d15f commit b2282c6

2 files changed

Lines changed: 29 additions & 30 deletions

File tree

tutorials/notebooks/shortclips/merged_for_colab.ipynb

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"metadata": {},
66
"source": [
77
"\n",
8-
"# 00_setup_colab.ipynb\n"
8+
"# 01_setup_colab.ipynb\n"
99
]
1010
},
1111
{
@@ -16,8 +16,12 @@
1616
"# Setup Google Colab\n",
1717
"\n",
1818
"In this script, we setup a Google Colab environment. This script will only work\n",
19-
"when run from [Google Colab](https://colab.research.google.com/)). You can\n",
20-
"skip it if you run the tutorials on your machine.\n"
19+
"when run from [Google Colab](https://colab.research.google.com/). You can\n",
20+
"skip it if you run the tutorials on your machine.\n",
21+
"\n",
22+
"> **Note:** This script will install all the required dependencies and download the data.\n",
23+
"> It will take around 10 minutes to run, but you need to run it only once in your Colab session.\n",
24+
"> If your Colab session is disconnected, you will need to run this script again."
2125
]
2226
},
2327
{
@@ -30,15 +34,15 @@
3034
"In Google Colab you can request access to a GPU by changing the runtime type.\n",
3135
"To do so, click the following menu options in Google Colab:\n",
3236
"\n",
33-
"(Menu) \"Runtime\" -> \"Change runtime type\" -> \"Hardware accelerator\" -> \"GPU\".\n",
37+
"> (Menu) \"Runtime\" -> \"Change runtime type\" -> \"Hardware accelerator\" -> \"GPU\".\n",
3438
"\n"
3539
]
3640
},
3741
{
3842
"cell_type": "markdown",
3943
"metadata": {},
4044
"source": [
41-
"## Download the data and install all required dependencies\n",
45+
"## Install all required dependencies and download the data\n",
4246
"\n",
4347
"Uncomment and run the following cell to download the required packages.\n",
4448
"\n"
@@ -187,7 +191,7 @@
187191
"metadata": {},
188192
"source": [
189193
"\n",
190-
"# 01_plot_explainable_variance.ipynb\n"
194+
"# 03_compute_explainable_variance.ipynb\n"
191195
]
192196
},
193197
{
@@ -652,7 +656,7 @@
652656
"metadata": {},
653657
"source": [
654658
"\n",
655-
"# 02_plot_ridge_regression.ipynb\n"
659+
"# 04_understand_ridge_regression.ipynb\n"
656660
]
657661
},
658662
{
@@ -670,7 +674,7 @@
670674
"Linear regression is a method to model the relation between some input\n",
671675
"variables $X \\in \\mathbb{R}^{(n \\times p)}$ (the features) and an output\n",
672676
"variable $y \\in \\mathbb{R}^{n}$ (the target). Specifically, linear\n",
673-
"regression uses a vector of coefficient $w \\in \\mathbb{R}^{p}$` to\n",
677+
"regression uses a vector of coefficient $w \\in \\mathbb{R}^{p}$ to\n",
674678
"predict the output\n",
675679
"\n",
676680
"\\begin{align}\\hat{y} = Xw\\end{align}\n",
@@ -685,15 +689,6 @@
685689
"least squares* (OLS).\n"
686690
]
687691
},
688-
{
689-
"cell_type": "code",
690-
"execution_count": null,
691-
"metadata": {
692-
"collapsed": false
693-
},
694-
"outputs": [],
695-
"source": []
696-
},
697692
{
698693
"cell_type": "markdown",
699694
"metadata": {},
@@ -1267,7 +1262,7 @@
12671262
"metadata": {},
12681263
"source": [
12691264
"\n",
1270-
"# 03_plot_wordnet_model.ipynb\n"
1265+
"# 05_fit_wordnet_model.ipynb\n"
12711266
]
12721267
},
12731268
{
@@ -2268,7 +2263,7 @@
22682263
"metadata": {},
22692264
"source": [
22702265
"\n",
2271-
"# 04_plot_hemodynamic_response.ipynb\n"
2266+
"# 06_visualize_hemodynamic_response.ipynb\n"
22722267
]
22732268
},
22742269
{
@@ -2855,7 +2850,7 @@
28552850
"metadata": {},
28562851
"source": [
28572852
"\n",
2858-
"# 05_plot_motion_energy_model.ipynb\n"
2853+
"# 08_fit_motion_energy_model.ipynb\n"
28592854
]
28602855
},
28612856
{
@@ -3368,7 +3363,7 @@
33683363
"metadata": {},
33693364
"source": [
33703365
"\n",
3371-
"# 06_plot_banded_ridge_model.ipynb\n"
3366+
"# 09_fit_banded_ridge_model.ipynb\n"
33723367
]
33733368
},
33743369
{

tutorials/notebooks/shortclips/merged_for_colab_model_fitting.ipynb

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"metadata": {},
66
"source": [
77
"\n",
8-
"# 00_setup_colab.ipynb\n"
8+
"# 01_setup_colab.ipynb\n"
99
]
1010
},
1111
{
@@ -16,8 +16,12 @@
1616
"# Setup Google Colab\n",
1717
"\n",
1818
"In this script, we setup a Google Colab environment. This script will only work\n",
19-
"when run from [Google Colab](https://colab.research.google.com/)). You can\n",
20-
"skip it if you run the tutorials on your machine.\n"
19+
"when run from [Google Colab](https://colab.research.google.com/). You can\n",
20+
"skip it if you run the tutorials on your machine.\n",
21+
"\n",
22+
"> **Note:** This script will install all the required dependencies and download the data.\n",
23+
"> It will take around 10 minutes to run, but you need to run it only once in your Colab session.\n",
24+
"> If your Colab session is disconnected, you will need to run this script again."
2125
]
2226
},
2327
{
@@ -30,15 +34,15 @@
3034
"In Google Colab you can request access to a GPU by changing the runtime type.\n",
3135
"To do so, click the following menu options in Google Colab:\n",
3236
"\n",
33-
"(Menu) \"Runtime\" -> \"Change runtime type\" -> \"Hardware accelerator\" -> \"GPU\".\n",
37+
"> (Menu) \"Runtime\" -> \"Change runtime type\" -> \"Hardware accelerator\" -> \"GPU\".\n",
3438
"\n"
3539
]
3640
},
3741
{
3842
"cell_type": "markdown",
3943
"metadata": {},
4044
"source": [
41-
"## Download the data and install all required dependencies\n",
45+
"## Install all required dependencies and download the data\n",
4246
"\n",
4347
"Uncomment and run the following cell to download the required packages.\n",
4448
"\n"
@@ -187,7 +191,7 @@
187191
"metadata": {},
188192
"source": [
189193
"\n",
190-
"# 01_plot_explainable_variance.ipynb\n"
194+
"# 03_compute_explainable_variance.ipynb\n"
191195
]
192196
},
193197
{
@@ -652,7 +656,7 @@
652656
"metadata": {},
653657
"source": [
654658
"\n",
655-
"# 03_plot_wordnet_model.ipynb\n"
659+
"# 05_fit_wordnet_model.ipynb\n"
656660
]
657661
},
658662
{
@@ -1653,7 +1657,7 @@
16531657
"metadata": {},
16541658
"source": [
16551659
"\n",
1656-
"# 05_plot_motion_energy_model.ipynb\n"
1660+
"# 08_fit_motion_energy_model.ipynb\n"
16571661
]
16581662
},
16591663
{
@@ -2166,7 +2170,7 @@
21662170
"metadata": {},
21672171
"source": [
21682172
"\n",
2169-
"# 06_plot_banded_ridge_model.ipynb\n"
2173+
"# 09_fit_banded_ridge_model.ipynb\n"
21702174
]
21712175
},
21722176
{

0 commit comments

Comments
 (0)