Open waystogetthere opened 3 years ago
That is ... neither here nor there. I cannot say off the top of my head whether that is a good prediction or not, it seems to be the mean
of the durations.
Does the same behavior persist with other example tests as well?
Hello! Sorry for being away for a while. This week I am a bit overwhelmed for some deadlines. The RMTPP is a great work attracting continuous discussion. I am quite inspired and Thank you for your elegant work!
Yes the green line is the mean
predicted duration at each event-stamp for all test cases.
pred_dur = test_time_preds - data['test_time_in_seq'][:, :test_time_preds.shape[1]]
And the red line indicates the ground truth mean
duration at each event-stamp for all test cases.
gt_dur = data['test_time_out_seq'] - data['test_time_in_seq']
The graph is plot in a way:
plt.plot(np.mean(pred_dur, axis=0), label='Predicted Duration', color='green') plt.plot(np.mean(gt_dur,` axis=0), label='Ground Truth Duration', color='red')
However, I think this is not a good prediction as at each event-stamp it predicts the same duration.
This is a mean
plot and I manage to extract some predictions for specific test cases:
I found that in your code the MAE is chosen as a metric to evaluate the model's time prediction performance. I may be more interested in the interval time vs time index plot, as the paper shows in figure 4. https://www.kdd.org/kdd2016/papers/files/rpp1081-duA.pdf
Thank you, Wish you a good day!
Hello, thank you for your implementation. It is well written and easy to go through.
I downloaded the code and ran the synthetic hawkes data set under the default setting I found that the predicted inter-event time remained the same.
This plot is the mean predicted inter-event time and mean ground truth inter-event time for 64 sequences in hawkes data set.
Also, the training loss does not change significantly during the training.
I don't know if it's abnormal or not. Any reply will be appreciated. Thank you very much!