Moving least squares: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Igor Grešovnik
No edit summary
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{subpages}}
'''Moving least squares''' is a method of approximating a [[Continuous function|continuous functions]] from a [[set]] of eventually unorganized point samples via the calculation of a weighted [[least squares]] measure biased towards the region around the point at which the approximation value is requested.
'''Moving least squares''' is a method of approximating a [[Continuous function|continuous functions]] from a [[set]] of eventually unorganized point samples via the calculation of a weighted [[least squares]] measure biased towards the region around the point at which the approximation value is requested.


Line 4: Line 5:


==Problem statement==
==Problem statement==
Consider the problem of adjusting a model function to best fit a given data set. The data set consist of ''n'' points  
Consider the problem of adjusting an approximation of some function to best fit a given data set. The data set consist of ''n'' points  


:<math>(y_i,\bold{x}_i), i = 1, 2,\dots, n .</math>
:<math>(y_i,\bold{x}_i), i = 1, 2,\dots, n .</math>
Line 12: Line 13:
:<math>y=f(\bold{x};\bold{a}(\bold{x})) ,</math>  
:<math>y=f(\bold{x};\bold{a}(\bold{x})) ,</math>  


where ''y'' is the dependent variable, '''x''' are the independent variables, and '''a'''('''x''') are the adjustable parameters of the model. In each point '''x''' when the approximation should be evaluated, we calculate the local values of these parameters such that the model best fits the data according to a defined error criterion. The parameters are obtained by [[Function minimization|minimization]] of the weighted sum of squares of errors,
where ''y'' is the dependent variable, '''x''' are the independent variables, and '''a'''('''x''') are the non-constant adjustable parameters of the model. In each point '''x''' where the approximation should be evaluated, we calculate the local values of these parameters such that the model best fits the data according to a defined error criterion. The parameters are obtained by [[Function minimization|minimization]] of the weighted sum of squares of errors,


:<math> S('''a'''('''x''')) = \sum_{i=1}^n  w_i (y_i - f(\bold{x}_i;\bold{a}(\bold{x})))^2 ,</math>
:<math> S(\bold{a}(\bold{x})) = \sum_{i=1}^n  w_i(\bold{x}) (y_i - f(\bold{x}_i;\bold{a}(\bold{x})))^2 ,</math>
 
with respect to the adjustable parameters of the model '''a'''('''x''') in the point of evaluation of the approximation.


with respect to the adjustable parameters of the model '''a'''('''x''') in the point of evaluation of the approximation. Note that weights are replaced by weighting functions, which are usually bell-like functions centered around '''x'''<sub>''i''</sub>.


== See also ==
== See also ==
*[[Function approximation]]
*[[Function approximation]]
*[[Weighted least squares]]
*[[Weighted least squares]]
*[[Optimization]]
*[[Optimization (mathematics)]][[Category:Suggestion Bot Tag]]

Latest revision as of 16:00, 21 September 2024

This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

Moving least squares is a method of approximating a continuous functions from a set of eventually unorganized point samples via the calculation of a weighted least squares measure biased towards the region around the point at which the approximation value is requested.

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 cloud of points through either downsampling or upsampling.

Problem statement

Consider the problem of adjusting an approximation of some function to best fit a given data set. The data set consist of n points

We define an approximation in a similar way as in the weighted least squares, but in such a way that its adjustable coefficients depend on the independent variables:

where y is the dependent variable, x are the independent variables, and a(x) are the non-constant adjustable parameters of the model. In each point x where the approximation should be evaluated, we calculate the local values of these parameters such that the model best fits the data according to a defined error criterion. The parameters are obtained by minimization of the weighted sum of squares of errors,

with respect to the adjustable parameters of the model a(x) in the point of evaluation of the approximation. Note that weights are replaced by weighting functions, which are usually bell-like functions centered around xi.

See also