Skip to content

Commit d13b3df

Browse files
remove argument equals whitespace: regression1
1 parent c10b50c commit d13b3df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/regression1.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -833,8 +833,8 @@ from sklearn.metrics import mean_squared_error
833833
834834
sacramento_test["predicted"] = sacr_gridsearch.predict(sacramento_test)
835835
RMSPE = mean_squared_error(
836-
y_true = sacramento_test["price"],
837-
y_pred = sacramento_test["predicted"]
836+
y_true=sacramento_test["price"],
837+
y_pred=sacramento_test["predicted"]
838838
)**(1/2)
839839
RMSPE
840840
```
@@ -1066,8 +1066,8 @@ to compute the RMSPE.
10661066
```{code-cell} ipython3
10671067
sacramento_test["predicted"] = sacr_gridsearch.predict(sacramento_test)
10681068
RMSPE_mult = mean_squared_error(
1069-
y_true = sacramento_test["price"],
1070-
y_pred = sacramento_test["predicted"]
1069+
y_true=sacramento_test["price"],
1070+
y_pred=sacramento_test["predicted"]
10711071
)**(1/2)
10721072
RMSPE_mult
10731073

0 commit comments

Comments
 (0)