Transformer-Hawkes-Process icon indicating copy to clipboard operation
Transformer-Hawkes-Process copied to clipboard

some question about calculating probalitility

Open CaiWZ opened this issue 3 years ago • 7 comments

I found that the intensity function is not used when calculating the probability,I don't know if you can answer for me. Thank you. image

CaiWZ avatar Jun 07 '21 08:06 CaiWZ

This paper didn't utilize the probability to predict the future event, it used the equation in the bottom of Page 7, please check.

DavidZhang88 avatar Jun 07 '21 13:06 DavidZhang88

In practice, using the intensity function doesn't work very well. Utilising a non-linearity of the model output and then a regression layer works well for event type prediction.

ritvik06 avatar Jul 26 '21 17:07 ritvik06

I also have the same question, and this paper states the conditional intensity function is used to predict the future event type and time stamp. However, I find the model in this repo only uses a linear layer to get the prediction result. I hope someone can help me, thanks a lot!

BoruiXu avatar May 12 '22 03:05 BoruiXu

I also have the same question, and this paper states the conditional intensity function is used to predict the future event type and time stamp. However, I find the model in this repo only uses a linear layer to get the prediction result. I hope someone can help me, thanks a lot!

it used the equation in the bottom of Page 7~

CaiWZ avatar May 12 '22 03:05 CaiWZ

I also have the same question, and this paper states the conditional intensity function is used to predict the future event type and time stamp. However, I find the model in this repo only uses a linear layer to get the prediction result. I hope someone can help me, thanks a lot!

it used the equation in the bottom of Page 7~

Thanks for your reply! I only find the equation in the bottom of Page 7 is used in Utils.log_likelihood function to get log-likelihood. And I am not sure if this equation is used in the prediction process. Maybe I miss or misunderstand some details. I will read the codes carefully. Thanks!

BoruiXu avatar May 12 '22 03:05 BoruiXu

I also have the same question, and this paper states the conditional intensity function is used to predict the future event type and time stamp. However, I find the model in this repo only uses a linear layer to get the prediction result. I hope someone can help me, thanks a lot!

it used the equation in the bottom of Page 7~

Thanks for your reply! I only find the equation in the bottom of Page 7 is used in Utils.log_likelihood function to get log-likelihood. And I am not sure if this equation is used in the prediction process. Maybe I miss or misunderstand some details. I will read the codes carefully. Thanks!

Referring to the 3rd floor, the 5.3 experimental part of the paper mentions that Eq.7 has a general effect, and a linear layer is used for this

CaiWZ avatar May 12 '22 03:05 CaiWZ

Thanks a lot!

BoruiXu avatar May 12 '22 04:05 BoruiXu