Closed esedaghatnejad closed 3 years ago
Sorry for this error. I now realize that the version that is automatically downloaded using pip install is an old version. We will try to fix this shortly. In the meantime, you can download the package manually instead of using pip (see "Installation" section of the ReadMe).
Now that we are on the topic, please add axis=0
to the np.roll
inputs. For all instances of np.roll
inside get_test_train_splits
. Thanks.
https://github.com/KordingLab/Neural_Decoding/blob/71a3c9ba2161cb1d8642bcefb96e8f29ccab7366/central_concepts_in_ML_for_decoding.ipynb#L494
@aribenjamin has updated the pip version and has added axis=0 to np.roll().
When I tried to run my_RNN_classifier.fit(training_data, training_decisions) from the "Neural decoding.ipynb" I got an error. Running the "Neural decoding solutions.ipynb" gives the same error.
TypeError Traceback (most recent call last)