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
"X_intact shouldn't contain missing data but has NaN values. "
"PyPOTS has imputed them with zeros by default to start the training for now. "
"Please double-check your data if you have concerns over this operation."
)
For imputation models, we expect X to contain missing values, while for X_intact, we need it with missing data filled with 0. We also need the additional indicating_mask recording positions for error calculation, but this is not necessary. Because indicating_mask can easily be calculated like torch.isnan(X)^torch.isnan(X_intact) if missing values are left as NaN in X and X_intact.
The text was updated successfully, but these errors were encountered:
PyPOTS/pypots/imputation/saits/model.py
Lines 268 to 275 in d457629
For imputation models, we expect
X
to contain missing values, while forX_intact
, we need it with missing data filled with 0. We also need the additionalindicating_mask
recording positions for error calculation, but this is not necessary. Because indicating_mask can easily be calculated liketorch.isnan(X)^torch.isnan(X_intact)
if missing values are left as NaN in X and X_intact.The text was updated successfully, but these errors were encountered: