Learning of time series through neuron-to-neuron instruction