Open OlaRonning opened 7 months ago
This looks reasonable to me. Since deterministic guide sites are usually ignored (e.g. in AutoGuides) I think we may want to gate this new behavior by an arg like return_deterministic_guide_sites: bool
or something.
A guard makes sense. I'll give an implementation a shot.
@OlaRonning Can I help with this issue?
@SarthakNikhal absolutely. Feel free to look at my WIP PR. I wrote the unittest relatively fast; you can probably develop a more suitable one.
@OlaRonning Okay. What can I do better? Also, what other unit tests can you think of
I would make the test cover four cases:
You'd probably want to check both that sites are included in the returned samples and that their values are as expected. I believe you can work directly on the aleatory_science branch.
Hi,
I'm working on a project where we would like to access the output of an NN in the guide when using
Predictive
. We've implemented it using a deterministic site in the guide. The program boils down to the following.We would like for both
m_deter
andg_deter
to be included. It looks like Predictive currently only considers model sites for return sites. Would it be possible to expand it so we can include deterministic sites from the guide?