Similar Items: On Non-asymptotic Theory of Recurrent Neural Networks in Temporal Point Processes