Function interface of an imputer
Arguments
- x
Numeric matrix. Predictor matrix. Samples correspond to rows. Discrete features are
encoded as binary dummy variables. May contain NAs.
Value
Numeric matrix. Predictor matrix of same shape as x with non-NAs untouched.