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

why in test() function. The qa_data pass into model? #3

Closed
phanxuanphucnd opened this issue Jan 7, 2021 · 6 comments
Closed

why in test() function. The qa_data pass into model? #3

phanxuanphucnd opened this issue Jan 7, 2021 · 6 comments

Comments

@phanxuanphucnd
Copy link

phanxuanphucnd commented Jan 7, 2021

why in test() function. The all qa_data pass into model? That is, the i'th response passed into model to predict for the i'th response?

1

@phanxuanphucnd
Copy link
Author

phanxuanphucnd commented Jan 7, 2021

hi @arghosh pls, help me !

@arghosh
Copy link
Owner

arghosh commented Jan 7, 2021

Hi @phanxuanphucnd, it is passed to check the accuracy of the model. If you see the forward pass of the model, it will use 1:t-1 responses to predict t^th response. This is done via mask in the model.

@phanxuanphucnd
Copy link
Author

phanxuanphucnd commented Jan 7, 2021

Hi @arghosh.
In my understanding, this seems to be true as we already know the labels of tests. Assume that, labels is unavailable. How does this work?

@arghosh
Copy link
Owner

arghosh commented Jan 7, 2021

So in KT framework, we predict future responses based on past performances. If the prior history is 0, the model will be bad. Suppose, you want to predict t^th response (which is unavailable) based on t-1 responses (these should be available), just put anything (0, or 1) for the t^th response.

I am assuming you are talking about challenge setup. I need to understand what your exact problem setup is. Depending on your problem, it might not be a KT problem. You can use some collaborative filtering based techniques.

@phanxuanphucnd
Copy link
Author

Yes, Thanks @arghosh !

@arghosh
Copy link
Owner

arghosh commented Jul 14, 2021

in akt.py code Line 159 => Line 208 =>Line 281 =>Line 326 it masks the current and future responses.

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