Skip to content

Bug in prediction code? #5

@danielegrattarola

Description

@danielegrattarola

Hello,

I am looking at the VGRNN_prediction.py script and I found what seems to be a bug on this line:

nll_loss += self._nll_bernoulli(dec_t_sl, adj_orig_dense_list[t])

Shouldn't it be:

nll_loss += self._nll_bernoulli(dec_t_sl, adj_orig_dense_list[t + 1])

in order to do link prediction for the graph at time T+1?
Did I misunderstand something?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions