Skip to Main content Skip to Navigation
Lectures

Least squares for programmers

Dmitry Sokolov 1 Nicolas Ray 1 Etienne Corman 1 
1 PIXEL - Structurer des formes géométriques
Inria Nancy - Grand Est, LORIA - ALGO - Department of Algorithms, Computation, Image and Geometry
Abstract : This course explains least squares optimization, nowadays a simple and well-mastered technology. We show how this simple method can solve a large number of problems that would be difficult to approach in any other way. This course provides a simple, understandable yet powerful tool that most coders can use, in the contrast with other algorithms sharing this paradigm (numerical simulation and deep learning) which are more complex to master.Linear regression is often underestimated being considered only as a sub-domain of statistics / data analysis, but it is much more than that. We propose to discover how the same method (least squares) applies to the manipulation of geometric objects. This first step into the numerical optimization world can be done without strong applied mathematics background; while being simple, this step suffices for many applications, and is a good starting point for learning more advanced algorithms. We strive to communicate the underlying intuitions through numerous examples of classic problems, we show different choices of variables and the ways the energies are built. Over the last two decades, the geometry processing community have used it for computing 2D maps, deformations, geodesic paths, frame fields, etc. Our examples provide many examples of applications that can be directly solved by the least squares method. Note that linear regression is an efficient tool that has deep connections to other scientific domains; we show a few such links to broaden reader's horizons.This course is intended for students/engineers/researchers who know how to program in the traditional way: by breaking down complex tasks into elementary operations that manipulate combinatorial structures (trees, graphs, meshes\dots). Here we present a different paradigm, in which we describe what a good result looks like, and let numerical optimization algorithms find it for us.
Document type :
Lectures
Complete list of metadata

https://hal.inria.fr/hal-03321301
Contributor : Sokolov Dmitry Connect in order to contact the contributor
Submitted on : Tuesday, August 17, 2021 - 2:01:16 PM
Last modification on : Friday, February 4, 2022 - 3:34:57 AM
Long-term archiving on: : Thursday, November 18, 2021 - 6:44:09 PM

File

least-squares.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Dmitry Sokolov, Nicolas Ray, Etienne Corman. Least squares for programmers. Doctoral. SIGGRAPH2021, Los Angeles, United States. 2021, pp.1-69. ⟨hal-03321301⟩

Share

Metrics

Record views

91

Files downloads

195