You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Determine design pattern for parameters of None type in the _assert_sample_and_rtype function (and possibly other functions)
Context
From TPM:
One uncertainty I had was the default behavior for the _assert_sample_and_rtype function generally. Is it a better pattern to not have a skip_if_none param and just instead have _assert_sample_and_rtype be able to handle these scenarios (latent_admissions v. observation_process, None or not None) internally?
From GVY:
That's a good question. I could be useful to post this as an issue/question. Right now, we have the NullRV class which somewhat deals with the None cases. Perhaps we could simply remove the option to skip checks as it should always be an instance of RandomVariable.
Goal
Determine design pattern for parameters of
None
type in the_assert_sample_and_rtype
function (and possibly other functions)Context
From TPM:
From GVY:
Code:
see here for example usage
see here for the
_assert_sample_and_rtype
Out of scope
_assert_sample_and_rtype
The text was updated successfully, but these errors were encountered: