https://medium.com/@monocosmo77/research-on-hawkes-process-for-machine-learning-research-part10-0e653efad3f2