This package allows fitting a low-tensor-rank recurrent neural network (ltrRNN) to neural data recorded over learning.
pip install ltrRNN
import ltrRNN
# your_data is a numpy array of shape (trials, neurons, time)
# The dictionary of hyperparameters is described in the example notebook
ltrRNN.fit(hyperparameters, your_data)
# The real-time output of fitting can be found in the ./runs directorySee the example notebook for an application of ltrRNN to simulated data.
A. Pellegrino@, N. A. Cayco-Gaijc†, A. Chadwick†. (2024). Low Tensor Rank Learning of Neural Dynamics. https://proceedings.neurips.cc/paper_files/paper/2023/hash/27030ad2ec1d8f2c3847a64e382c30ca-Abstract-Conference.html.
