Visualization and calculation of posterior function #539
Replies: 2 comments 2 replies
-
|
Hi @IGB-leonhardt, the answer is probably "yes" but I'm not entirely sure if I understand the question right. Note: Computationally, you can always only ever evaluate statistics on a finite number of points – so I'm not 100% clear what exactly you refer to when you say Consequently, in a discrete search space, there is a simple answer because you can just evaluate the entire search space via campaign.posterior(campaign.searchspace.discrete.exp_rep)However, as soon as you go to continuous or mixed spaces, it is no longer clear how to interpret the question in the first place. Maybe you can clarify what you mean? For example, one thing you can do is to subsample your space and then do the evaluation on that subset of points, just like you did above. Does this help you? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @IGB-leonhardt , You can change Note that we already implemented another convenience function called |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello together,
I tried to call (and visualize) the posterior function of an already fitted model in order to describe my experimental data over the whole range of the search space.
Unfortunately, with this code, I only managed to call mean and variance of candidates:
meassurements = campaign.measurements
posterior = campaign.posterior(candidates=meassurements)
print(posterior)
mean = posterior.mean
variance = posterior.variance
print("Mean:\n", mean)
print("Variance:\n", variance)
Is there a way to get the mean and variance function of the fitted model?
Beta Was this translation helpful? Give feedback.
All reactions