Description Usage Arguments Value
Use the models from impute_all
to impute the selected columns in data.
1 2 | impute_predict_all(data, columns, na_function, models, included_columns,
verbose = F)
|
data |
The new dataset, as a data.frame or data.table. |
columns |
the columns to impute. |
na_function |
Function which returns TRUE when a value is missing and FALSE otherwise. |
models |
The models generated by |
included_columns |
what columns should used as predictors? Can be integers, logicals or column names. |
verbose |
whether xgboost should print anything |
The same dataset as the imputed, but with NA values in the selected columns replaced by their estimated values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.