Closed drsimonj closed 7 years ago
model_as_xy returns mismatched data when missing values are present. E.g., if no missing values in y but some missing values in x's, the missing value rows are removed from x's, but retained in y.
model_as_xy
y
x's
This leads to errors in twidlr functions that use this such as glmnet and xgboost
model_as_xy
returns mismatched data when missing values are present. E.g., if no missing values iny
but some missing values inx's
, the missing value rows are removed fromx's
, but retained iny
.