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:
+
+
+]]>
+
+
https://web.navan.dev/posts/2022-08-05-Why-You-No-Host.html
diff --git a/docs/images/opengraph/posts/2024-03-26-Derivation-of-the-Quadratic-Equation.png b/docs/images/opengraph/posts/2024-03-26-Derivation-of-the-Quadratic-Equation.png
new file mode 100644
index 0000000..2464364
Binary files /dev/null and b/docs/images/opengraph/posts/2024-03-26-Derivation-of-the-Quadratic-Equation.png differ
diff --git a/docs/index.html b/docs/index.html
index 0a3070a..c462f4b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -50,6 +50,17 @@
For all posts go to Posts
diff --git a/docs/posts/2024-03-21-Polynomial-Regression-in-TensorFlow-2.html b/docs/posts/2024-03-21-Polynomial-Regression-in-TensorFlow-2.html
index 7a25daf..ab46ec7 100644
--- a/docs/posts/2024-03-21-Polynomial-Regression-in-TensorFlow-2.html
+++ b/docs/posts/2024-03-21-Polynomial-Regression-in-TensorFlow-2.html
@@ -107,9 +107,7 @@
-
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:
+
+
+
+
If you have scrolled this far, consider subscribing to my mailing list here. You can subscribe to either a specific type of post you are interested in, or subscribe to everything with the "Everything" list.
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/posts/index.html b/docs/posts/index.html
index d886b19..40b6a92 100644
--- a/docs/posts/index.html
+++ b/docs/posts/index.html
@@ -52,6 +52,17 @@