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 bd36334fd3..03a653a49d 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