unwrap_raw_model: Unwrap a fitted mlr3 learner to its underlying model object

View source: R/helper_vimpute.R

unwrap_raw_modelR Documentation

Unwrap a fitted mlr3 learner to its underlying model object

Description

Depending on the GraphLearner shape (bare learner vs preprocessing pipeops) the learner state nests one level deeper, so descend through "model" elements until a non-state object is reached (bounded; stops on ranger / data.frame / non-list).

Usage

unwrap_raw_model(learner)

VIM documentation built on Sept. 2, 2026, 5:07 p.m.