i am working on a simple linear regression model for practicing in order to learn machine learning . my model runs correctly however it get a bad score which means it is a bad model so any advice for better model will be appreciated . and here is my model
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from sklearn.linear_model import LinearRegression
from sklearn.metrics import r2_score
########## reading training set ##########
data = pd.read_csv("train.csv", delimiter=",", header=0)
x = data[['Col1', 'Col2']]
y = data['Expected']
########## building model ##########
reg = LinearRegression()
reg.fit(x, y)
########## reading test making predictions ##########
data_test = pd.read_csv("test.csv",delimiter=",", header=0)
x_test = data_test[['Col1', 'Col2']]
prediction = reg.predict(x_test)
np.savetxt("prediction.txt",prediction,delimiter=',')