From 64be80200e662caf0f22f776f53293447d76bf63 Mon Sep 17 00:00:00 2001 From: Umachandar Jayachandran Date: Fri, 21 Apr 2017 21:46:37 -0700 Subject: [PATCH] Corrected variable name Fixed typo. --- .../getting-started/rental-prediction/rental_prediction.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/features/machine-learning-services/python/getting-started/rental-prediction/rental_prediction.sql b/samples/features/machine-learning-services/python/getting-started/rental-prediction/rental_prediction.sql index bd36334f..03a653a4 100644 --- a/samples/features/machine-learning-services/python/getting-started/rental-prediction/rental_prediction.sql +++ b/samples/features/machine-learning-services/python/getting-started/rental-prediction/rental_prediction.sql @@ -102,7 +102,7 @@ print(lin_predictions) # Import the scikit-learn function to compute error. from sklearn.metrics import mean_squared_error # Compute error between our test predictions and the actual values. -lin_mse = mean_squared_error(linpredictions, df[target]) +lin_mse = mean_squared_error(lin_predictions, df[target]) #print(lin_mse) import pandas as pd