-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isproper(::NaturalParametersSpace, ::Type{MvNormalMeanCovariance}, η, conditioner) is not correct #145
Comments
This is a known problem (limitation) of the As a workaround, convert your matrix to |
This might be a potential issue for the manifold projection. Recording it here so we don't forget, but those small differences in the off-diagonal entries do indeed lead to errors during the optimization :( |
Perhaps, we can modify our check to something like return isnothing(conditioner) &&
length(η₁) === size(η₂, 1) &&
(size(η₂, 1) === size(η₂, 2)) &&
isapprox(norm(η₂ - transpose(η₂)), 0.0; atol=1e-10) &&
isposdef(Hermitian(-η₂)) the extra EDIT: I bypassed the check in the optimization as for now |
It's not possible to pass the
isproper
check during the creation phase for valid natural multivariate normal parameters.outputs
Error
The text was updated successfully, but these errors were encountered: