Skip to content

Commit 64be802

Browse files
committed
Corrected variable name
Fixed typo.
1 parent c813f7d commit 64be802

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)