A brain-computer interface (BCI) includes a multichannel stimulator and a decoder. The multichannel stimulator is operatively connected to deliver stimulation pulses to a functional electrical stimulation (FES) device to control delivery of FES to an anatomical region. The decoder is operatively connected to receive at least one neural signal from at least one electrode operatively connected with a motor cortex. The decoder controls the multichannel stimulator based on the received at least one neural signal. The decoder comprises a computer programmed to process the received at least one neural signal using a deep neural network. The decoder may include a long short-term memory (LSTM) layer outputting to a convolutional layer in turn outputting to at least one fully connected neural network layer. The decoder may be updated by unsupervised updating. The decoder may be extended to include additional functions by transfer learning.
MEETING BRAIN-COMPUTER INTERFACE USER PERFORMANCE EXPECTATIONS USING A DEEP NEURAL NETWORK DECODING FRAMEWORK