swager / randomForestCI

This package is DEPRECATED. Please use the packages `grf` or `ranger` instead, which have built-in confidence intervals.
https://github.com/swager/grf
MIT License
69 stars 21 forks source link

Interpolation problem #11

Open engie-elkhait-meine opened 6 years ago

engie-elkhait-meine commented 6 years ago

Hello,

I am using your package to have confidence interval but i have a problem when I want to calibrate my variance. I get the error

Error in approx(x = calib.x, y = calib.y, xout = vars) : need at least two non-NA values to interpolate

I don't understand what is the reason so I try to change the ntree but in vain.

Could someone help me PLZ

swager commented 6 years ago

This package is deprecated, and no longer under active maintenance. If you want confidence intervals for regression forests, I'd recommend you use the function regression_forest in the package grf. It has built in confidence intervals that are (both statistically and numerically) more stable than the ones here.