Comments (6)
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.
Comment #2 originally posted by sandwichmaker on 2012-07-13T15:15:13.000Z:
Indentation was wrong in a few places.
from ceres-solver.
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.
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.
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.
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)
- Assessment of the difficulty in porting CPU architecture for ceres-solver HOT 1
- Can't load libceres_solver_plugin.so HOT 2
- 编译问题,internal/ceres/CMakeFiles/schur_eliminator_benchmark.dir/all] Error 2 HOT 2
- Ceres Solver Update causes build failures in Cartographer HOT 1
- Typo
- An optimization problem HOT 2
- CMake Error at cmake/FindTBB.cmake:434 (file): file STRINGS file "/usr/include/tbb/tbb_stddef.h" cannot be read. HOT 2
- why does autodiff produce different jacobian w.r.t analytic, but give the same result HOT 4
- Do not force brewisms, rather make USE_HOMEBREW an explicit configure option HOT 3
- cant find_package(Ceres REQUIRED) on macos !!!
- cant find_package(Ceres REQUIRED) on macos !!! HOT 8
- The program crashes when executing solve() HOT 3
- Compare ceres with scipy curve_fit HOT 8
- Bazel build fails HOT 1
- Merely including Ceres header file causes LNK2019 error (unresolved external symbol) from MSVC. HOT 4
- How to correctly call the official CUDA module of ceres? HOT 6
- Aborted error in ceres::Solve() HOT 5
- Setting Parameter Weights or Covariance Values HOT 1
- When I execute the cmake, it says add_library cannot create imported target "glog::glog" because another target with the same name already exists. HOT 3
- CHOLMOD print even on silent mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ceres-solver.