Imputation using Boosted Trees Fill each column by
treating it as a regression problem. For each column i,
use boosted regression trees to predict i using all other
columns except i. If the predictor variables also
contain missing data, the gbm function will itself use
surrogate variables as substitutes for the predictors.
This imputation function can handle both categorical and
numeric data.