Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing values, mlr3 ranger learner #758

Open
markusloecher opened this issue Feb 28, 2025 · 0 comments
Open

missing values, mlr3 ranger learner #758

markusloecher opened this issue Feb 28, 2025 · 0 comments

Comments

@markusloecher
Copy link

Apologies if the following question should be an issue for mlr3 (or even doubleML) instead of ranger.

I run the R package doubleML on a data file which contains missing values; I use lrn("regr.ranger") for both control and treatment models.
On Ubuntu the code runs as is, on my MAC the error msg. is

Error : Task 'nuis_l' has missing values in column(s) ..., but learner 'regr.ranger' does not support this

Is there a difference in the way missing values are handled on Linux (Ubuntu) versus MACOS ? All package versions are the same:

library(ranger)#version 0.17.0
library(DoubleML)#version 1.0.1
library(data.table) #version 1.16.4
library(mlr3)#version 0.22.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant