fit_and_expand {iai}R Documentation

Fit an imputation learner with training features and create adaptive indicator features to encode the missing pattern

Description

Julia Equivalent: IAI.fit_and_expand!

Usage

fit_and_expand(lnr, X, ...)

Arguments

lnr

The learner to use for imputation.

X

The dataframe in which to impute missing values.

...

Refer to the Julia documentation for available parameters.

IAI Compatibility

Requires IAI version 3.0 or higher.

Examples

## Not run: lnr <- iai::fit_and_expand(lnr, X, type = "finite")


[Package iai version 1.10.1 Index]