code: def normalizeSequence(sequence):
    
    seq = np.array(sequence).astype('float64')
  
    meanSeq = np.mean(seq)
    stdSeq = np.std(seq)
    seq = (seq - np.mean(seq)) / np.std(seq)
  
    sequence = seq.tolist()
    return sequence, meanSeq, stdSeq
docs: normalize sequence by subtracting the mean and
    :param sequence: a list of data samples
    :param considerDimensions: a list of dimensions to consider
    :return: normalized sequence