-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Hi,
I have the following issue regarding calculating LL in Utils.py
in line 49 inside the function "compute_integral_unbiased":
temp_hid = torch.sum(temp_hid * type_mask[:, 1:, :], dim=2, keepdim=True)
you have only considered the occurred events for calculating integral while according to the formula we should compute the integral of each event type.
I would expect the output dimension of this function to be [Batch_size, Length, Num_types].
then we should sum over all num_types instead of reducing it to only occurred events.
I believe that this underestimation of this integral has led to your high overall LL compared to other studies.
looking forward to your clarifications
Metadata
Metadata
Assignees
Labels
No labels