You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm following your tutorial for python notebook
and the variable gene_physionet2012(artificially_missing_rate=0.1) haven't the key test_X_indicating_mask. Then when I tried to measure mae when the following code:
from pypots.utils.metrics import calc_mae
# calculate mean absolute error on the ground truth (artificially-missing values)
testing_mae = calc_mae(
saits_imputation,
physionet2012_dataset['test_X_ori'],
physionet2012_dataset['test_X_indicating_mask'],
)
print(f"Testing mean absolute error: {testing_mae:.4f}")
I get the following error: KeyError: 'test_X_indicating_mask'
Can you suggest me the solutions?
The text was updated successfully, but these errors were encountered:
Thank you so much for your attention to PyPOTS and BrewPOTS! You can follow me on GitHub to receive the latest news of PyPOTS. If you find PyPOTS and BrewPOTS helpful to your work, please star our repositories. Your star is your recognition, which can help more people notice PyPOTS and grow PyPOTS community. It matters and is definitely a kind of contribution to the community.
I have received your message and will respond ASAP. Thank you for your patience! 😃
I'm following your tutorial for python notebook
and the variable
gene_physionet2012(artificially_missing_rate=0.1)
haven't the keytest_X_indicating_mask
. Then when I tried to measure mae when the following code:I get the following error:
KeyError: 'test_X_indicating_mask'
Can you suggest me the solutions?
The text was updated successfully, but these errors were encountered: