Comments (5)
Yes, figure 1 in the paper depicts how the past events are used to predict the next event.
from ifl-tpp.
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:
The data files I use are as follows:
The results:
Can I understand that the model can achieve such an effect without training (according to loss)?
from ifl-tpp.
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.
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.
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:
- If you want to do probabilistic forecasting for event sequences, you need to be able to sample entire new trajectories — and only a TPP model will allow you to do that.
- You want to uncover dependencies between different event types (Granger causality).
- Anomaly detection
from ifl-tpp.
Related Issues (20)
- Calculate the mean of the entire distribution. HOT 7
- all evaluation expriments code HOT 1
- Calculate the mean of the entire distribution. HOT 23
- How could I get the predicted results? HOT 20
- ATM dataset testing HOT 2
- Learning with Marks HOT 9
- How to get the expression of the distribution of inter-event time HOT 6
- LogNorm curiosity HOT 4
- Code for using context vector in the models HOT 2
- on log likelihood misunderstanding HOT 4
- Loss with NLL of mark and MAE of inter-event time HOT 6
- Hyperparameters for reproducibility HOT 6
- Sampling points of a specific mark HOT 3
- Implementation on missing data imputation HOT 1
- Understanding given datasets HOT 5
- NLL results HOT 5
- Sampling with additional conditional information
- use other dataset HOT 1
- Missing data imputation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ifl-tpp.