File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -833,8 +833,8 @@ from sklearn.metrics import mean_squared_error
833
833
834
834
sacramento_test["predicted"] = sacr_gridsearch.predict(sacramento_test)
835
835
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"]
838
838
)**(1/2)
839
839
RMSPE
840
840
```
@@ -1066,8 +1066,8 @@ to compute the RMSPE.
1066
1066
``` {code-cell} ipython3
1067
1067
sacramento_test["predicted"] = sacr_gridsearch.predict(sacramento_test)
1068
1068
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"]
1071
1071
)**(1/2)
1072
1072
RMSPE_mult
1073
1073
You can’t perform that action at this time.
0 commit comments