This function accepts a data frame or a task and an imputation description as returned by impute to perform the following actions:
Restore dropped columns, setting them to NA
Add dummy variables for columns as specified in impute
Optionally check factors for new levels to treat them as NAs
Reorder factor levels to ensure identical integer representation as before
Impute missing values using previously collected data
reimpute(obj, desc)Imputated data.frame or task with imputed data.
(data.frame | Task)
Input data.
(ImputationDesc)
Imputation description as returned by impute.
Other impute:
imputations,
impute(),
makeImputeMethod(),
makeImputeWrapper()