Learn R Programming

iai (version 1.10.2)

fit_and_expand: 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

Run this code
if (FALSE) lnr <- iai::fit_and_expand(lnr, X, type = "finite")

Run the code above in your browser using DataLab