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

Saving/Loading Lrnr_dbarts does not work #234

Open
jeremyrcoyle opened this issue Sep 23, 2019 · 1 comment
Open

Saving/Loading Lrnr_dbarts does not work #234

jeremyrcoyle opened this issue Sep 23, 2019 · 1 comment
Labels

Comments

@jeremyrcoyle
Copy link
Collaborator

From the help on dbarts::bart:

Saving
saveing and loading fitted BART objects for use with predict requires that R's serialization mechanism be able to access the underlying trees, in addition to being fit with keeptrees/keepTrees as TRUE. For memory purposes, the trees are not stored as R objects unless specifically requested. To do this, one must “touch” the sampler's state object before saving, e.g. for a fitted object bartFit, execute invisible(bartFit$fit$state).

@nhejazi nhejazi added the bug label Sep 27, 2019
@jeremyrcoyle
Copy link
Collaborator Author

I couldn't make this work, even with the extra step. I made an issue on the dbarts repo: vdorie/dbarts#19

I'll complete this once that's resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants