Simple Regression model: simple house price prediction program with one feature which is the size of the house
def compute_model_output(x, w, b): # to predict the house price depending in the earlier datasets f(x)
m = x.shape[0]
f_wb =np.zeros(m)
for i in range(m):
f_wb[i] = w * x[i] + b
return f_wb