Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fit_transform_cv

Train a grid using cross-validation with features and impute all missing values in these features


Description

Julia Equivalent: IAI.fit_transform_cv!

Usage

fit_transform_cv(grid, X, ...)

Arguments

grid

The grid to use for imputation

X

The features of the data.

...

Refer to the Julia documentation for available parameters.

Examples

X <- iris
X[1, 1] <- NA
grid <- iai::grid_search(
    iai::imputation_learner(),
    method = c("opt_knn", "opt_tree"),
)
iai::fit_transform_cv(grid, X)

iai

Interface to 'Interpretable AI' Modules

v1.5.0
MIT + file LICENSE
Authors
Jack Dunn [aut, cre], Ying Zhuo [aut], Interpretable AI LLC [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.