Skip to content

Commit 979f2bd

Browse files
committed
Dont know why LaTeX only renders if double dollar
1 parent 1bcd6c7 commit 979f2bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2025-01-27-geometric-fitting-intuition-pt2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $$
1818
ax + by + c = 0,
1919
$$
2020
</div>
21-
and it is an affine mapping with respect to the $$ x $$ and $$ y $$ variables, meaning that it is not a linear function. However, the mapping is linear with respect to the $ a $, $ b $, and $ c $ variables, which will be useful to us...
21+
and it is an affine mapping with respect to the $$ x $$ and $$ y $$ variables, meaning that it is not a linear function. However, the mapping is linear with respect to the $$ a $$, $$ b $$, and $$ c $$ variables, which will be useful to us...
2222

2323
Thus, the least-squares fitting problem for a line is:
2424
<div align="center">
@@ -29,7 +29,7 @@ $$
2929

3030
This can be solved in one step because it represents a parabola, which is strictly convex, as the error function is quadratic in the unknowns.
3131

32-
By differentiating $$E(\cdot)$$ with respect to the unknowns and setting it equal to 0, we get (thanks to the nature of this particular equation) three linear equations in the unknowns.
32+
By differentiating $$E(\cdot)$$ with respect to the unknowns and setting it equal to $$0$$, we get (thanks to the nature of this particular equation) three linear equations in the unknowns.
3333

3434
However, curves are usually higher-order functions than straight lines, so the error function, in the form of the sum of perpendicular distances to a curve, is not usually quadratic. Therefore, these geometric errors cannot be minimized "in a single step," but rather by using iterative nonlinear methods. However, through different approaches, it is possible to "quite well" approximate the minimization of **geometric error** with that of an **algebraic error**, typically quadratic. This categorizes fitting methods into two main families: algebraic and geometric. In general, algebraic error is a good approximation of geometric error, even as the initial seed for iterative geometric methods. See [2] for a continued discussion of these concepts.
3535

0 commit comments

Comments
 (0)