Similar Items: Transformer autoencoder with local attention for sparse and irregular time series with application on risk estimation