Skip to content

Commit 0f5b7e4

Browse files
remove argument equals whitespace: regression2
1 parent d13b3df commit 0f5b7e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/regression2.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ sacramento_test["predicted"] = lm.predict(sacramento_test[["sqft"]])
440440
441441
# calculate RMSPE
442442
RMSPE = mean_squared_error(
443-
y_true = sacramento_test["price"],
444-
y_pred = sacramento_test["predicted"]
443+
y_true=sacramento_test["price"],
444+
y_pred=sacramento_test["predicted"]
445445
)**(1/2)
446446
447447
RMSPE
@@ -734,8 +734,8 @@ Finally, we make predictions on the test data set to assess the quality of our m
734734
sacramento_test["predicted"] = mlm.predict(sacramento_test[["sqft","beds"]])
735735
736736
lm_mult_test_RMSPE = mean_squared_error(
737-
y_true = sacramento_test["price"],
738-
y_pred = sacramento_test["predicted"]
737+
y_true=sacramento_test["price"],
738+
y_pred=sacramento_test["predicted"]
739739
)**(1/2)
740740
lm_mult_test_RMSPE
741741
```

0 commit comments

Comments
 (0)