Git Product home page Git Product logo

Comments (5)

shchur avatar shchur commented on August 15, 2024

Yes, figure 1 in the paper depicts how the past events are used to predict the next event.

from ifl-tpp.

dgbsg avatar dgbsg commented on August 15, 2024

Thank you very much for your reply. I think this is a great job and is very helpful to my research direction, I am reading your paper now.I successfully ran your code, but I found that you seem to have used the early stop strategy during the training.But I'm curious, from the printed loss value, it seems that the training did not reduce the loss, as shown below:
2021-10-15 20-18-29 的屏幕截图
The data files I use are as follows:
2021-10-15 20-18-20 的屏幕截图

The results:
2021-10-15 20-18-37 的屏幕截图
Can I understand that the model can achieve such an effect without training (according to loss)?

from ifl-tpp.

shchur avatar shchur commented on August 15, 2024

Hi, the loss Epoch 0: ... is already after the completion of the first epoch, so multiple gradient updates have already been performed. The inter-event times in the dataset you are using (stationary_renewal) are independent of the history, so I think it's quite normal that the model converges within 1 epoch.

If you try a more challenging dataset, like hawkes1 or self_correcting, the model will take longer to train.

from ifl-tpp.

dgbsg avatar dgbsg commented on August 15, 2024

Thank you for your answer. I have another question about the accuracy of time prediction. I have read some papers and codes. I found that many people like to use MAE or RMSE as evaluation indicators in terms of time prediction accuracy. I think this is incorrect.You can use these as the objective function , And for the predicted effect ,we only need to draw the curve between the real value and the predicted value on a graph, and we can clearly see the prediction performance. I've tried to run some code. Although their Mae or RMSE is very low, they don't actually predict a relatively accurate time at all.
so,why?
In addition, for this classic point process,https://dl.acm.org/doi/abs/10.1145/2939672.2939875, as shown in the article, the prediction effect of RMTPP on the event type on the real data set is not ideal, and the error rate can reach up to 80%. I directly use other methods of time series analysis that may produce better results.In summary, I am thinking about whether there is a need for point process analysis for the sequence of events and time generated in the real world.
I look forward to your response,thanks.

from ifl-tpp.

shchur avatar shchur commented on August 15, 2024

Hi, regarding MAE/MSE objectives: you might want to have a look at the discussion in issue #14.

A short summary of that discussion: If you only care about predicting the time and/or mark of the next event, you probably don't need a TPP model at all. A simple sequence model (e.g. RNN) trained with MAE/MSE/categorical cross-entropy loss will likely produce better results, as you correctly pointed out.

Here are some examples of scenarios where a TPP (i.e. a generative model for event sequences) is useful:

from ifl-tpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.