https://123dok.net/document/yr33nmvy-preprocessing-for-classification-of-sparse-data-application-to-trajectory-recognition.html