Lably
Skip to content

Moving least squares

Method for reconstructing continuous functions

  • 1 min read
  • 1 chapter

Related on Lably

Through Continuous function and Measure (mathematics)

In computer graphics, the moving least squares method is useful for reconstructing a surface from a set of points. Often it is used to create a 3D surface from a point cloud through either downsampling or upsampling.

In numerical analysis to handle contributions of geometry where it is difficult to obtain discretizations, the moving least squares methods have also been used and generalized to solve PDEs on curved surfaces and other geometries. This includes numerical methods developed for curved surfaces for solving scalar parabolic PDEs and vector-valued hydrodynamic PDEs.

In machine learning, moving least squares methods have also been used to develop model classes and learning methods. This includes function regression methods and neural network function and operator regression approaches, such as GMLS-Nets.

Definition

Consider a function f:Rn→R and a set of sample points S={(xi,fi)|f(xi)=fi}. Then, the moving least square approximation of degree m at the point x is p~(x) where p~ minimizes the weighted least-square error

∑i∈I(p(xi)−fi)2θ(‖x−xi‖)

over all polynomials p of degree m in Rn. θ(s) is the weight and it tends to zero as s→∞.

In the example θ(s)=e−s2. The smooth interpolator of "order 3" is a quadratic interpolator.

More in Statistics