fit_transform | R Documentation |
Similar to calling
fit.imputation_learner
followed by
transform
fit_transform(lnr, X, ...)
lnr |
The learner or grid to use for imputation |
X |
The features of the data. |
... |
Refer to the Julia documentation for available parameters. |
Julia Equivalent:
IAI.fit_transform!
## Not run:
X <- iris
X[1, 1] <- NA
grid <- iai::grid_search(
iai::imputation_learner(),
method = c("opt_knn", "opt_tree"),
)
iai::fit_transform(grid, X)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.