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
I cannot count how many times I lost nerves on debugging issues on my script to only find out that I used categorical variables instead of 0-1 for my BernoulliLikelihood.
Therefore here is my proposal:
We use ScientificTypes.jl to enforce that the outputs are restricted to be in a certain form (binary, categorical, continuous, positive, etc...).
We dispatch the different likelihoods to their appropriate domain.
We still allow for any kind of input anyway, but we perform a check on the type and domain of the inputs.
The text was updated successfully, but these errors were encountered:
I cannot count how many times I lost nerves on debugging issues on my script to only find out that I used categorical variables instead of 0-1 for my
BernoulliLikelihood
.Therefore here is my proposal:
The text was updated successfully, but these errors were encountered: