XBCF
XBCF copied to clipboard
Accessing Sigma Draws
Hello,
I was wondering if there is any way to access the sigma draws in the Python version? Currently the following portion of code which updates the sigma draws is commented out:
if self.model == "Normal":
self.sigma_draws = self._xbcf_cpp.get_sigma_draws(
self.params["num_sweeps"] * self.params["num_trees"]
)
self.confirm = "Confirm"
# Convert from colum major
self.sigma_draws = self.sigma_draws.reshape(
(self.params["num_sweeps"], self.params["num_trees"]), order="F")
I have tried going through the files to see if the sigmas can be easily accessed but am running into some difficulty as it seems to require quite a bit of editing of the C++ files. I wondered if you had any pointers on how to access the sigmas, or why this portion of code is commented out.
Thank you very much for any help and a great package.