getLeafModel = function(model) {
if (inherits(model, "BaseWrapperModel"))
return(getLeafModel(model$learner.model$next.model))
return(model)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.