Skip to contents

Function interface of an imputer

Usage

imputer_prototype(x)

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.