Skip to content

Translating Ensemble stacking from mlr to mlr3 #667

Answered by pat-s
thengl asked this question in Q&A
Discussion options

You must be logged in to vote

For reference, I'll post the code here again which I wrote during my stay at OpenGeoHub in September which should address most of the questions discussed here:

library("mlr3verse")
library("mlr3spatiotempcv")
library("mlr3viz")
library(data.table)
set.seed(42)

logger = lgr::get_logger("bbotk")
logger$set_threshold("warn")

# parallelization --------------------------------------------------------------

future::plan("multisession", workers = 4)

# data -------------------------------------------------------------------------

# create dataset with blocking from example dataset
task = tsk("ecuador")
data_raw = task$backend$data(1:task$nrow, task$feature_names)
group = as.factor(sample(c("c…

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
5 replies
@thengl
Comment options

@berndbischl
Comment options

berndbischl Jul 15, 2021
Maintainer Sponsor

@thengl
Comment options

@berndbischl
Comment options

berndbischl Jul 15, 2021
Maintainer Sponsor

@thengl
Comment options

Comment options

berndbischl
Jul 15, 2021
Maintainer Sponsor

You must be logged in to vote
0 replies
Comment options

berndbischl
Jul 15, 2021
Maintainer Sponsor

You must be logged in to vote
3 replies
@thengl
Comment options

@berndbischl
Comment options

berndbischl Jul 15, 2021
Maintainer Sponsor

@thengl
Comment options

Comment options

You must be logged in to vote
1 reply
@thengl
Comment options

Answer selected by pat-s
Comment options

berndbischl
Oct 8, 2021
Maintainer Sponsor

You must be logged in to vote
1 reply
@pat-s
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants