Original code is from this repository which is modified to predict posterior click popularity in advertising network engvironment.
HIP(Haweks Intensity Process) is implemented and tested in two specific distances one in monotonically increasing and the other one in monotonically decreasing.
Refereces: Rizoiu, M.-A., Xie, L., Sanner, S., Cebrian, M., Yu, H., & Van Hentenryck, P. Expecting to be HIP: Hawkes Intensity Processes for Social Media Popularity. In 26th International Conference on World Wide Web - WWW ’17, pp. 735-744, Perth, Australia, 2017. doi: 10.1145/3038912.3052650