-
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
VariableNodeData discussion for upgrading to Manifolds.jl #763
Comments
xref JuliaRobotics/IncrementalInference.jl#1242
I agree, storing some I think the Union approach is probably easiest -- that way we will hopefully get all the errors for any lingering usage of I'm less confident about what is going to happen to the
that comment was just for convenience, the packages do not have much to do with each other at this point in time. (tensors and manifold operations are friends though...) |
Instead of |
I like that you use I am not yet sure what the |
Just as background:
This is good to know thanks. I'll look into it some more. It will probably come in very handy with the parametric batch solution where I currently calculate the cost function based on all variables: https://github.com/JuliaRobotics/IncrementalInference.jl/blob/f37ef01755cf5b74c6cc062426d0cdc1de5d8307/src/ParametricUtils.jl#L195-L255 |
Oh, I see you need the Hessian of the cost function at the minimizer, this will be fun on manifolds. |
You can approximate the Hessian quite well, see the quasi newton algorithm. I am currently working with a student on making this a little more generic, i.e. if you can provide the gradient, you can use a (L-)BFGS-type approximate Hessian wherever you want. |
We use the Hessian to estimate the covariance so will look into the quasi newton algorithm, thanks. Perhaps there are other techniques to estimate the covariance also available. I'm still a bit far from that point though. |
To start a discussion on how best to deprecate the
val
andbw
types ofArray{Float64,2}
to a vector of typeP
whereP
is the type of a point on a manifold. Or possibly something different?Serialization should also be considered.
A possible way is to use a
Union
as a temporary transition (although it might be slower) and then change to a typeAnd then it can become:
We can also 2 more fields and then just swop over from the one to the other.
I looked at TensorCast, but the Manifold points do not fit in with the
Array{Float64,2}
e.g. SO(2) is a Vector of 2x2 matrices.The text was updated successfully, but these errors were encountered: