Abstract
A set of one or more non-transitory computer readable media has instructions that, when executed by a set of one or more processors, cause the processor set to obtain time series data comprising a plurality of data sequences, each data sequence having temporal data points with varying sparsity patterns. The instructions cause the processor set to analyze sparsity characteristics of each data sequence within a rolling window to determine a sparsity pattern classification and select an encoding strategy for each data sequence based on the determined sparsity pattern classification, wherein different encoding strategies are applied to data sequences having different sparsity pattern classifications. The instructions further cause the processor set to generate feature vectors for each data sequence using the selected encoding strategy and train a machine learning model using the generated feature vectors.