Where is the predicted value and is the actual value
@@ -726,7 +722,7 @@ $$
How would you modify this code to use another type of nonlinear regression? Say,
-
$$ y = ab^x $$
+
Hint: Your loss calculation would be similar to:
@@ -3186,6 +3182,52 @@ values using the X values. We then plot it to compare the actual data and predic
]]>
+
+
+ https://web.navan.dev/posts/2024-03-26-Derivation-of-the-Quadratic-Equation.html
+
+
+ Quadratic Formula Derivation
+
+
+ Quick derivation of the quadratic equation by completing the square
+
+ https://web.navan.dev/posts/2024-03-26-Derivation-of-the-Quadratic-Equation.html
+ Tue, 26 Mar 2024 15:36:00 -0000
+ Quadratic Formula Derivation
+
+
The standard form of a quadratic equation is:
+
+
+
+
Here, , and
+
+
We begin by first dividing both sides by the coefficient
+
+
+
+
We can rearrange the equation:
+
+
+
+
We can then use the method of completing the square. (Maths is Fun has a really good explanation for this technique)
+
+
+
+
On our LHS, we can clearly recognize that it is the expanded form of i.e
+
+
+
+
Taking the square root of both sides
+
+
+
+
This gives you the world famous quadratic formula: