Patent ID: 8073652

Claim:
A computer-implemented method for pre-processing data, comprising: detecting one or more erroneous vectors in a plurality of vectors; detecting one or more erroneous elements in the one or more erroneous vectors; deleting values of the one or more detected erroneous elements from the one or more erroneous vectors; identifying one or more surrounding vectors surrounding the one or more erroneous vectors with respect to time; determining a surrounding vector distance metric based on one or more elements of the one or more surrounding vectors corresponding to the one or more erroneous elements of the one or more erroneous vectors; calculating one or more new values for the one or more erroneous elements such that an erroneous vector distance metric, determined based on at least one or more remaining values of the one or more erroneous vectors, corresponds to the surrounding vector distance metric; and replacing the deleted values of the one or more erroneous elements with the calculated one or more new values for the one or more erroneous elements of the one or more erroneous vectors.