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

How to do inference #66

Open
moktayoglu opened this issue Jun 28, 2022 · 10 comments
Open

How to do inference #66

moktayoglu opened this issue Jun 28, 2022 · 10 comments

Comments

@moktayoglu
Copy link

Hello,

I am trying to do inference with the trained model with new time points. How do we do that? Can you help?

I tried using global_model.predict however it only gave the same results. Is there another way to do it?

Thanks!

@moktayoglu moktayoglu changed the title How to inference How to do inference Jun 28, 2022
@Atakanzsn
Copy link

Atakanzsn commented Aug 12, 2022

facing with the same question, any solutions?

@woojeongjin
Copy link
Contributor

Hi Could you elaborate the issue? What dataset are you using?

@moktayoglu
Copy link
Author

moktayoglu commented Aug 17, 2022 via email

@moktayoglu
Copy link
Author

moktayoglu commented Aug 17, 2022 via email

@woojeongjin
Copy link
Contributor

woojeongjin commented Aug 17, 2022

There should be some rules for timestamps as described in the paper:

  1. The timestamps are discrete integers and have equal intervals.
  2. The timestamps of the test set should be after those of the training set.

Please follow these rules!

@moktayoglu
Copy link
Author

moktayoglu commented Aug 17, 2022 via email

@woojeongjin
Copy link
Contributor

woojeongjin commented Aug 18, 2022

Sure you can do that.
You can refer to the predicted graph in the inference code which is for creating a graph at each time stamp.
First, you sample subjects, then relations, and then objects at a certain time stamp.
With this set of triples, you have a graph at the time stamp.

@moktayoglu
Copy link
Author

moktayoglu commented Aug 18, 2022 via email

@moktayoglu
Copy link
Author

moktayoglu commented Oct 11, 2022 via email

@dnanad
Copy link

dnanad commented Feb 19, 2024

Hey hi, did you manage to compete this? I am curious about your use case!

Hello, Could you provide some help with it? On Thu, Aug 18, 2022 at 3:21 AM MELIS OKTAYOGLU @.> wrote:

Could you elaborate? How to proceed after training, validating and testing? On Wed, Aug 17, 2022, 8:03 PM Woojeong Jin @.
> wrote: > Sure you can do that. > The predicted graph in the code is for creating a graph at each time > stamp. > First, you sample subjects, then relations, and then objects at a certain > time stamp. > With this set of triples, you have a graph at the time stamp. > > — > Reply to this email directly, view it on GitHub > <#66 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ARJIGM3REBVJ67VZUNKQ63DVZV4V3ANCNFSM52DKRHQQ > . > You are receiving this because you authored the thread.Message ID: > @.***> >

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

4 participants