Skip to content

Commit ca8de95

Browse files
authored
updated rental_predictions.sql
fixed typo
1 parent c813f7d commit ca8de95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/features/machine-learning-services/python/getting-started/rental-prediction/rental_prediction.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ print(lin_predictions)
102102
# Import the scikit-learn function to compute error.
103103
from sklearn.metrics import mean_squared_error
104104
# Compute error between our test predictions and the actual values.
105-
lin_mse = mean_squared_error(linpredictions, df[target])
105+
lin_mse = mean_squared_error(lin_predictions, df[target])
106106
#print(lin_mse)
107107
108108
import pandas as pd

0 commit comments

Comments
 (0)