Skip to content

Commit ce2eeb7

Browse files
committed
FIX dataloader when dataset already present
1 parent 28037d5 commit ce2eeb7

19 files changed

Lines changed: 30 additions & 26 deletions

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ corresponding publications:
9999
preparation*.
100100
101101
.. [2] Dupré La Tour, T., Eickenberg, M., & Gallant, J. L. (2022).
102-
Variance decomposition with banded ridge regression. *In preparation*.
102+
Feature-space selection with banded ridge regression. *In preparation*.
103103
104104
.. [3] Gao, J. S., Huth, A. G., Lescroart, M. D., & Gallant, J. L. (2015).
105105
Pycortex: an interactive surface visualizer for fMRI. Frontiers in

doc/voxelwise_modeling.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ Datasets
141141

142142
.. _hut2012data:
143143

144-
[4b] Huth, A. G., Nishimoto, S., Vu, A. T., Dupre la Tour, T., & Gallant, J. L. (2022).
145-
Gallant Lab Natural Short Clips 3T fMRI Data. http://dx.doi.org/--TBD--
144+
[4b] Huth, A. G., Nishimoto, S., Vu, A. T., Dupré la Tour, T., & Gallant, J. L. (2022).
145+
Gallant Lab Natural Short Clips 3T fMRI Data. http://dx.doi.org/10.12751/g-node.vy1zjd
146146

147147
Packages
148148
--------
@@ -156,7 +156,7 @@ Packages
156156
.. _dup2022:
157157

158158
[14] Dupré La Tour, T., Eickenberg, M., & Gallant, J. L. (2022).
159-
Variance decomposition with banded ridge regression. *In preparation*.
159+
Feature-space selection with banded ridge regression. *In preparation*.
160160

161161
.. _gao2015:
162162

tutorials/notebooks/shortclips/00_download_shortclips.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"cell_type": "markdown",
7070
"metadata": {},
7171
"source": [
72-
"## References\n\n.. [1] Huth, A. G., Nishimoto, S., Vu, A. T., & Gallant, J. L. (2012). A\n continuous semantic space describes the representation of thousands of\n object and action categories across the human brain. Neuron, 76(6),\n 1210-1224.\n\n.. [2] Huth, A. G., Nishimoto, S., Vu, A. T., Dupre la Tour, T., & Gallant, J. L. (2022).\n Gallant Lab Natural Short Clips 3T fMRI Data. http://dx.doi.org/--TBD--\n\n"
72+
"## References\n\n.. [1] Huth, A. G., Nishimoto, S., Vu, A. T., & Gallant, J. L. (2012). A\n continuous semantic space describes the representation of thousands of\n object and action categories across the human brain. Neuron, 76(6),\n 1210-1224.\n\n.. [2] Huth, A. G., Nishimoto, S., Vu, A. T., Dupr\u00e9 la Tour, T., & Gallant, J. L. (2022).\n Gallant Lab Natural Short Clips 3T fMRI Data. http://dx.doi.org/10.12751/g-node.vy1zjd\n\n"
7373
]
7474
}
7575
],
@@ -89,7 +89,7 @@
8989
"name": "python",
9090
"nbconvert_exporter": "python",
9191
"pygments_lexer": "ipython3",
92-
"version": "3.8.0"
92+
"version": "3.7.12"
9393
}
9494
},
9595
"nbformat": 4,

tutorials/notebooks/shortclips/00_setup_colab.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"name": "python",
115115
"nbconvert_exporter": "python",
116116
"pygments_lexer": "ipython3",
117-
"version": "3.8.0"
117+
"version": "3.7.12"
118118
}
119119
},
120120
"nbformat": 4,

tutorials/notebooks/shortclips/01_plot_explainable_variance.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
"name": "python",
338338
"nbconvert_exporter": "python",
339339
"pygments_lexer": "ipython3",
340-
"version": "3.8.0"
340+
"version": "3.7.12"
341341
}
342342
},
343343
"nbformat": 4,

tutorials/notebooks/shortclips/02_plot_ridge_regression.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@
386386
"cell_type": "markdown",
387387
"metadata": {},
388388
"source": [
389-
"To summarize, to select the best hyperparameter $\\alpha$, the standard\nmethod is to perform a grid search:\n - Split the training set into two subsets: one subset used to fit the\n models, and one subset to estimate the prediction accuracy (*validation\n set*)\n - Define a number of hyperparameter candidates, for example [0.1, 1, 10,\n 100].\n - Fit a separate ridge model with each hyperparameter candidate\n $\\alpha$.\n - Compute the prediction accuracy on the validation set.\n - Select the hyperparameter candidate leading to the best validation\n accuracy.\n\nTo make the grid search less sensitive to the choice of how the training data\nwas split, the process can be repeated for multiple splits. Then, the\ndifferent prediction accuracies can be averaged over splits before the\nhyperparameter selection. Thus, the process is called a *cross-validation*.\n\nLearn more about hyperparameter selection and cross-validation on the\n`scikit-learn documentation\n<https://scikit-learn.org/stable/modules/cross_validation.html>`_.\n\n"
389+
"To summarize, to select the best hyperparameter $\\alpha$, the standard\nmethod is to perform a grid search:\n\n - Split the training set into two subsets: one subset used to fit the\n models, and one subset to estimate the prediction accuracy (*validation\n set*)\n - Define a number of hyperparameter candidates, for example [0.1, 1, 10,\n 100].\n - Fit a separate ridge model with each hyperparameter candidate\n $\\alpha$.\n - Compute the prediction accuracy on the validation set.\n - Select the hyperparameter candidate leading to the best validation\n accuracy.\n\nTo make the grid search less sensitive to the choice of how the training data\nwas split, the process can be repeated for multiple splits. Then, the\ndifferent prediction accuracies can be averaged over splits before the\nhyperparameter selection. Thus, the process is called a *cross-validation*.\n\nLearn more about hyperparameter selection and cross-validation on the\n`scikit-learn documentation\n<https://scikit-learn.org/stable/modules/cross_validation.html>`_.\n\n"
390390
]
391391
}
392392
],
@@ -406,7 +406,7 @@
406406
"name": "python",
407407
"nbconvert_exporter": "python",
408408
"pygments_lexer": "ipython3",
409-
"version": "3.8.0"
409+
"version": "3.7.12"
410410
}
411411
},
412412
"nbformat": 4,

tutorials/notebooks/shortclips/03_plot_wordnet_model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@
653653
"name": "python",
654654
"nbconvert_exporter": "python",
655655
"pygments_lexer": "ipython3",
656-
"version": "3.8.0"
656+
"version": "3.7.12"
657657
}
658658
},
659659
"nbformat": 4,

tutorials/notebooks/shortclips/04_plot_hemodynamic_response.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@
352352
"name": "python",
353353
"nbconvert_exporter": "python",
354354
"pygments_lexer": "ipython3",
355-
"version": "3.8.0"
355+
"version": "3.7.12"
356356
}
357357
},
358358
"nbformat": 4,

tutorials/notebooks/shortclips/05_plot_motion_energy_model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
"name": "python",
342342
"nbconvert_exporter": "python",
343343
"pygments_lexer": "ipython3",
344-
"version": "3.8.0"
344+
"version": "3.7.12"
345345
}
346346
},
347347
"nbformat": 4,

tutorials/notebooks/shortclips/06_plot_banded_ridge_model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@
510510
"name": "python",
511511
"nbconvert_exporter": "python",
512512
"pygments_lexer": "ipython3",
513-
"version": "3.8.0"
513+
"version": "3.7.12"
514514
}
515515
},
516516
"nbformat": 4,

0 commit comments

Comments
 (0)