Skip to content
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

Adding penalty terms to the error variable in LeastSquaresAlgorithm class #12

Open
Mechazo11 opened this issue Mar 18, 2024 · 1 comment

Comments

@Mechazo11
Copy link

Hello @Rookfighter,

I am opening this thread to inquire about a separate feature relevant to the problem we are discussing in the other thread.

Is it possible to add additional terms to the error method found in the minimize method in the LeastSquaresAlgorithm class? This penalty term is a function of the current estimate of x_val.

For example the library current uses error = fval.squaredNorm() / 2;. Can I add a penalty term fpenalty s.t $fpenalty = f(x_{val})$ i.e. enforce orthonormal constraint when optimizing one of the direction vectors of a rotation matrix.

@Mechazo11
Copy link
Author

@Rookfighter Hi, when it is convenient for you, could you share you thoughts on this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant