cjcarlson / embarcadero

🌲🌉 Species distribution models with Bayesian additive regression trees
49 stars 11 forks source link

Dropped variable problem #17

Closed cjcarlson closed 4 years ago

cjcarlson commented 4 years ago

Sometimes, 'dbarts' entirely drops a variable from the model without even including it in the variable splits with "0" splits - both can happen in the same model, if dimensionality is high. This causes issues with varimp() and then some downstream issues.

I started writing a solution for varimp() but it doesn't work yet, and a lot of things are broken downstream because of it.

cjcarlson commented 4 years ago

This should be fixed but waiting on Anna to confirm it on a fresh dataset