Professional Documents
Culture Documents
'''
print(train_data.head())
# Now, we need to predict the missing target variable in the test data
# target variable - Item_Outlet_Sales
'''
Create the object of the Linear Regression model
You can also add other parameters and test your code here
Some parameters are : fit_intercept and normalize
Documentation of sklearn LinearRegression:
'''
model = LinearRegression()