How do two partial derivatives turn the best-fit problem into a 2×2 linear system, and how does a logarithm stretch it to exponential growth?
Loading…
The linear system for the best-fit line
Set , expand and collect terms to reach and .
Exponential fits through
Rewrite by taking logarithms, set , and record that the problem becomes a line fit for against , with Moore's law as the example.
Quadratic fits and a system
State that fitting makes the total square deviation a function of , , whose critical-point equations form a linear system.