Skip to content

Commit 95f8ac3

Browse files
authored
Added np.swapaxes for the RNN on simulated data
1 parent c22e53e commit 95f8ac3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

central_concepts_in_ML_for_decoding.ipynb

+3
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,9 @@
812812
"training_decisions = decisions[:split]\n",
813813
"validation_decisions = decisions[split:]\n",
814814
"\n",
815+
"training_data = np.swapaxes(training_data, 1, 2)\n",
816+
"validation_data = np.swapaxes(validation_data, 1, 2)\n",
817+
"\n",
815818
"print(\"Training input data is of shape\", training_data.shape)\n",
816819
"print(\"Validation input data is of shape\", validation_data.shape)\n"
817820
],

0 commit comments

Comments
 (0)