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

Question on model evaluation #1

Closed
VRM1 opened this issue Nov 12, 2022 · 1 comment · Fixed by #2
Closed

Question on model evaluation #1

VRM1 opened this issue Nov 12, 2022 · 1 comment · Fixed by #2

Comments

@VRM1
Copy link

VRM1 commented Nov 12, 2022

Thanks for the implementation! I was curious as to why you have both mask and mask_bc under miscelanea.py -> function def test_mie_ll as dataset[:][2]. Shouldn't the mask_bc = dataset[:][1] ? i.e., we need to be applying the mask when encoding and then generate the data. dataset[:][2] refers to the variable nan_mask (in file datasets.py) which is essentially all ones. It will be great if you can clarify this.

Thanks

@adrianjav
Copy link
Owner

Hi @VRM1. You are completely right, we should feed the observed mask dataset[:][1] to the model, and then use the missing mask to compute the missing imputation error and likelihood.

This is fixed in my follow-up repository for another project, but somehow I forgot to update this repository.

Thanks a lot for noticing, I will update it now.

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

Successfully merging a pull request may close this issue.

2 participants