Git Product home page Git Product logo

Comments (6)

sandwichmaker avatar sandwichmaker commented on May 23, 2024

Comment #1 originally posted by sandwichmaker on 2012-07-13T15:11:35.000Z:

While trying to familiarize myself with ceres's internals a bit more (I am tempted to try to add a few things), I thought this would be an easy and instructive exercise (although probably as irrelevant as it gets). I have attached the result.

from ceres-solver.

sandwichmaker avatar sandwichmaker commented on May 23, 2024

Comment #2 originally posted by sandwichmaker on 2012-07-13T15:15:13.000Z:

Indentation was wrong in a few places.

from ceres-solver.

sandwichmaker avatar sandwichmaker commented on May 23, 2024

Comment #3 originally posted by sandwichmaker on 2012-07-13T15:16:49.000Z:

Hey Markus,
This is a great way to start. Keir and I will take a closer look at the patch over the weekend.
Thanks and we would love to know what ideas you have about adding things to Ceres.
Keir and I usually argue about it over a design doc or a rough patch.

Sameer

from ceres-solver.

sandwichmaker avatar sandwichmaker commented on May 23, 2024

Comment #4 originally posted by sandwichmaker on 2012-07-13T16:08:13.000Z:

In particular, I was wondering how difficult it would be to add a hybrid Quasi-Newton solver. As the structure (residual and parameter blocks) of the problem is known anyway, it should be easy enough to estimate the Hessian of the i-th residual r_i not as B_i = J_i^T J_i, but B_i = J_i^T J_i + A_i where A_i is computed with a suitable Quasi-Newton update (cf. e.g. Nocedal & Wright). I have used Toint's LANCELOT package before, but firstly (as far as I could see) it completely ignored the J^T J part, and secondly it was far less convenient to use (no auto-diff, Fortran with no C++ frontend, ...)

However, I have no idea how much time I'd be able to invest in this.

from ceres-solver.

sandwichmaker avatar sandwichmaker commented on May 23, 2024

Comment #5 originally posted by sandwichmaker on 2012-07-13T17:55:36.000Z:

Re: quasi-newton: Sameer and myself have had similar ideas. In case you noticed, I recently added support for evaluating the gradient in addition to the jacobian. I'm planning to implement nonlinear conjugate gradient, which is different than what you're suggesting.

We'd love to have you work on sparse QN. Instead of writing a big patch, let's have a design discussion on the mailing list.

Having quasi-newton would help with large residual problems.

from ceres-solver.

sandwichmaker avatar sandwichmaker commented on May 23, 2024

Comment #6 originally posted by sandwichmaker on 2012-07-18T16:41:08.000Z:

https://ceres-solver-review.googlesource.com/1260 fixes it.
The change is pushed to code.google.com.

Thanks Markus.

from ceres-solver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.