Neurostimulator devices are described comprising: a stimulation assembly connectable to a plurality of electrodes, wherein the plurality of electrodes are configured to stimulate a spinal cord; one or more sensors; and at least one processor configured to modify at least one complex stimulation pattern deliverable by the plurality of electrodes by integrating data from the one or more sensors and performing a machine learning method implementing a Gaussian Process Optimization on the at least one complex stimulation pattern. Methods of use are also described.
Neurostimulator devices using a machine learning method implementing a gaussian process optimization