You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Lrnr_randomForest is a candidate learner in a super learner library, the delayed learner fit and regular fit do not yield the same prediction result.
Here is an example borrowed from test-delayed_sl3.R:
The difference between the two runs is that by default we use FutureJob, not SequentialJob, which is controllable by this function: sl3:::sl3_delayed_job_type. Changing the example to be consistent about job type fixes the issue:
The two job types currently handle seeds differently, which may be fixable, but I believe we changed FutureJob to fix other reproducibility issues, especially under parallelization. Maybe an issue on delayed is appropriate
When
Lrnr_randomForest
is a candidate learner in a super learner library, the delayed learner fit and regular fit do not yield the same prediction result.Here is an example borrowed from
test-delayed_sl3.R
:Running the code above,
preds_delayed
andpreds
do not match.Note that if we remove
Lrnr_randomForest
, result is reproducible:Removing
set.seed(123)
above the linetest_delayed <- delayed_learner_train(sl, task)
,preds_delayed
andpreds
do not match.The text was updated successfully, but these errors were encountered: