Track similarity measurement method based on contrast prediction coding, computer readable storage medium and computer program product
Патент · CN B
Полный текст
The invention belongs to the field of track similarity measurement, and in particular relates to a track similarity measurement method based on contrast prediction coding, a computer readable storage medium and a computer program product, wherein the method comprises the following steps that S1 preprocessing and transposition operation is carried out on data to obtain track data which is suitable for the input requirement of an improved neural network model; S2, training track data by utilizing an improved neural network model and combining a shared encoder and an enhanced autoregressive module of the model, extracting high-dimensional feature vectors of each track, S3, generating a distance matrix by calculating Manhattan distances among the high-dimensional feature vectors, and converting the distance matrix into a ranking matrix, wherein each element in the ranking matrix represents the relative sequencing position of corresponding distance values in the distance matrix. The method can more comprehensively capture the complex space-time relationship in the track data, and effectively improves the accuracy and efficiency of similarity measurement.