Michael Mayer
Michael Mayer
This fix will work only if the response is 0-1 coded. ``` library(ranger) fit
Good point...
The workaround by @NicChr of adding 0 to a double vector also works in this case. But I wonder how robust this could be?
The solution to add 0 seems to work for C based languages, at least if they stick to ISO/IEC 60559
Wow! In my R code, I am doing: ```r if (is.double(x)) x
thanks a lot for the hint, I have added your suggestion!
Thanks for the hint! This indeed looks promising. Maybe I will first write the Python counterpart and then move it to that site.
Can you please provide a minimal reproducible example?
Running this code with the current CRAN version 2.5.2 does not seem to give a warning.
With ggplot2 4, I can reproduce the issue.