From e1874e804a338144fa08a603bb0774919f9b1cfa Mon Sep 17 00:00:00 2001
From: supremepandey <88278588+supremepandey@users.noreply.github.com>
Date: Thu, 14 Nov 2024 07:17:47 +0545
Subject: [PATCH] Update 07.preliminary_predictive_modeling.md
---
content/07.preliminary_predictive_modeling.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/07.preliminary_predictive_modeling.md b/content/07.preliminary_predictive_modeling.md
index 6f2d49c1..b9716cfd 100644
--- a/content/07.preliminary_predictive_modeling.md
+++ b/content/07.preliminary_predictive_modeling.md
@@ -45,7 +45,7 @@ To test these theories, we first implemented cross-validation with 5 folds, as t
The relatively low performance of linear models suggests that the relationships between the variables in the dataset may be non-linear or involve complex interactions between variables. Therefore, we evaluated the performance with the polynomial regression model. This time we eliminated the one feature "Holiday" as it has less correlation with the price and we divided the data into 80% training and 20% testing.
**Equation (5):**
-$$\text{Price} = 4332.83 + 4764.5065 x \text{Total Stops} + 4.98 x \text{Flight Duration} - 424.07 x \text{Holiday}2 - 0.001 x \text{Flight Duration}2$$ - 1.43 \text{Noise}$$
+$$\text{Price} = 4332.83 + 4764.5065 x Total Stops + 4.98 x \text{Flight Duration} - 424.07 x Holiday2 - 0.001 x Flight Duration2 - 1.43(Noise)$$
The RSME, MSE and R^2 values we observed from this model are 3082.22, \( 9.50 e+06 \), and 0.48, respectively. You can observed that the model performence have improved than the last model but still it has low performance.