Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Divided pseudo session trajectory #12

Open
Kyraaaaaaaa opened this issue Nov 27, 2024 · 2 comments
Open

Divided pseudo session trajectory #12

Kyraaaaaaaa opened this issue Nov 27, 2024 · 2 comments

Comments

@Kyraaaaaaaa
Copy link

pseudo session trajectory
Hi,
When I checked the code for generating a pseudo session trajectory, I found the logic of the code was wrong. As you mentioned in the paper, the work should "Divide user check-in records into several trajectories with 24-hour intervals, excluding trajectories that contain only one check-in record. ". But for the code, it divided the trajectories by the time differences between two records near each other instead of the time difference between the current record and the start record of the trajectory.
Can you check for this? Thank you !

@Kyraaaaaaaa
Copy link
Author

And I found that for the current division code, the longest trajectory has 238 check-in records.

@neolifer
Copy link
Owner

The logic is correct. The 24-hour interval is meant to be a sliding window. I also found it quite ambiguous when I first read that from other papers. Here I just followed what they write for data preprocessing. The reason people do this I guess is that the data is too sparse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants