Open DilumAluthge opened 4 years ago
Maybe instead of response = :y
, I should try response = :μ
and/or response = :y_dists
.
response = :μ
and response = :y_dists
both give the same error as above.
This is curious. If I have response = :μ
, I shouldn't even need to construct the UnivariateFinite
distributions, right? After all, I'm only asking for μ
.
@cscherrer Is there a way to construct the particles but e.g. tell Soss that "I only want up to μ
, so skip any variables that depend on μ
"?
I think the easiest way to do this would be something like
For (1), check out Soss.below
I'm going to mark this as potentially breaking, since it will probably require some changes to the return types of public functions.
predict_particles
throws aMethodError
when I try to use it in the multinomial logistic regression example.The error is:
ERROR: MethodError: no method matching &(::Particles{Bool,1000}, ::Particles{Bool,1000})
Full output:
For comparison,
predict_particles
works correctly in the linear regression example: