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

Documentation on how to use save/load when using rbart_vi() #46

Open
jmobrien opened this issue Apr 25, 2022 · 0 comments
Open

Documentation on how to use save/load when using rbart_vi() #46

jmobrien opened this issue Apr 25, 2022 · 0 comments

Comments

@jmobrien
Copy link

jmobrien commented Apr 25, 2022

Small documentation note: the guidance for importing the trees into fitted object x is to call invisible(x$fit$state). However, in the case of rbart_vi(), x$fit is itself a list-object, requiring an adjustment to make the technique work properly (e.g., invisible(x$fit[[1]]$state) in the use case I encountered, where the list at x$fit contained a single element).

It would be great if the docs could be updated to help users be aware of this nuance. Thanks for all your work building this great tool.

EDIT: even this doesn't produce fully equivalent results when working with a loaded model vs one that was fit in the current session. I'm at a loss for how to proceed here.

(on Windows 10 using dbarts 0.9-22. This is all with educational data on a secure server, so I don't have a ready example to show, sorry.)

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