mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Corrected variable name
Fixed typo.
This commit is contained in:
@ -102,7 +102,7 @@ print(lin_predictions)
|
|||||||
# Import the scikit-learn function to compute error.
|
# Import the scikit-learn function to compute error.
|
||||||
from sklearn.metrics import mean_squared_error
|
from sklearn.metrics import mean_squared_error
|
||||||
# Compute error between our test predictions and the actual values.
|
# 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)
|
#print(lin_mse)
|
||||||
|
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|||||||
Reference in New Issue
Block a user